Skip to content
PantoneTools
yellow
Tailwind CSS palette

Yellow 500

yellow-500 · #EAB308

HEX

#EAB308

RGB

rgb(234, 179, 8)

CMYK

cmyk(0%, 24%, 97%, 8%)

HSL

hsl(45, 93%, 47%)

LAB

lab(75.9, 7.7, 77.6)

What is Yellow 500?

Yellow 500 is the yellow-500 reference in the Tailwind CSS palette. Its sRGB value is #EAB308 (rgb 234, 179, 8). It sits in the yellow family. The default color palette shipped with Tailwind CSS v3 by Tailwind Labs. 22 color families across 11 lightness steps (50 to 950). See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Yellow 500 as a background.

Black text on this color

Sample text · 10.95 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 1.92 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Yellow 500

An 11-step tonal scale derived from Yellow 500 (#EAB308). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #FDF9EB

50

#FDF9EB

#FDF9EB

Copied #FCF3D7

100

#FCF3D7

#FCF3D7

Copied #F8E7B0

200

#F8E7B0

#F8E7B0

Copied #F5D984

300

#F5D984

#F5D984

Copied #EFC646

400

#EFC646

#EFC646

Copied #EAB308

500

#EAB308

#EAB308

Copied #C79807

600

#C79807

#C79807

Copied #987405

700

#987405

#987405

Copied #695104

800

#695104

#695104

Copied #3B2D02

900

#3B2D02

#3B2D02

Copied #1C1501

950

#1C1501

#1C1501

Lighter tints (mixed with white)

Copied #EDC16D

15%

#EDC16D

Copied #F1CE95

30%

#F1CE95

Copied #F4DAB3

45%

#F4DAB3

Copied #F7E5CC

60%

#F7E5CC

Copied #FAEFE1

75%

#FAEFE1

Darker shades (mixed with black)

Copied #DAA607

15%

#DAA607

Copied #C89806

30%

#C89806

Copied #B38804

45%

#B38804

Copied #9B7603

60%

#9B7603

Copied #7D5E02

75%

#7D5E02

Color harmonies for Yellow 500

Classic color-theory harmonies derived from rotating the hue of Yellow 500. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #EAB308

#EAB308

#EAB308

Copied #0840E7

#0840E7

#0840E7

Triadic

Three colors 120° apart

Copied #EAB308

#EAB308

#EAB308

Copied #08E7B0

#08E7B0

#08E7B0

Copied #B008E7

#B008E7

#B008E7

Analogous

Two neighbors ±30° on the wheel

Copied #E74008

#E74008

#E74008

Copied #EAB308

#EAB308

#EAB308

Copied #B0E708

#B0E708

#B0E708

Split-complementary

Base + two colors flanking its complement

Copied #EAB308

#EAB308

#EAB308

Copied #08B0E7

#08B0E7

#08B0E7

Copied #4008E7

#4008E7

#4008E7

Tetradic

Two complementary pairs

Copied #EAB308

#EAB308

#EAB308

Copied #40E708

#40E708

#40E708

Copied #0840E7

#0840E7

#0840E7

Copied #B008E7

#B008E7

#B008E7

Square

Four colors evenly spaced 90° apart

Copied #EAB308

#EAB308

#EAB308

Copied #08E740

#08E740

#08E740

Copied #0840E7

#0840E7

#0840E7

Copied #E708B0

#E708B0

#E708B0

Yellow 500 in every color space

Full conversion of Yellow 500 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#EAB308

RGB

rgb(234, 179, 8)

CMYK

cmyk(0%, 24%, 97%, 8%)

HSL

hsl(45, 93%, 47%)

HSV

hsv(45, 97%, 92%)

HWB

hwb(45 3% 8%)

CIE Lab

lab(75.9 7.7 77.6)

OKLCH

oklch(79.5% 0.162 86.0)

XYZ (D65)

xyz(50.10, 49.75, 7.19)

Copy-ready code for Yellow 500

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #EAB308;
background-color: #EAB308;

CSS variable

:root {
  --color-yellow-500: #EAB308;
}

Tailwind config

// tailwind.config.js
colors: {
  'yellow-500': '#EAB308',
}

Sass

$color-yellow-500: #EAB308;

Swift UIColor

UIColor(red: 0.918, green: 0.702, blue: 0.031, alpha: 1.0)

Android XML

<color name="yellow-500">#EAB308</color>

Closest match in every color system

The nearest Yellow 500 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in Tailwind CSS palette

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #D6AE01

RAL 1032

#D6AE01

Broom yellow

Copied #E5BE01

RAL 1003

#E5BE01

Signal yellow

Copied #F4A900

RAL 1028

#F4A900

Melon yellow

Copied #E4A010

RAL 1006

#E4A010

Maize yellow

Copied #DC9D00

RAL 1007

#DC9D00

Daffodil yellow

Copied #CDA434

RAL 1004

#CDA434

Golden yellow

FAQ about Yellow 500

What is the HEX code for Yellow 500?

Yellow 500 (yellow-500) has the HEX code #EAB308. In RGB it is rgb(234, 179, 8), and in CMYK it is cmyk(0%, 24%, 97%, 8%).

What is the OKLCH value of Yellow 500?

Yellow 500 converts to oklch(0.795 0.162 86.0). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Yellow 500 accessible for body text?

Used as a background, Yellow 500 has a contrast ratio of 10.95:1 with black text and 1.92:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.

What is the closest Pantone to Yellow 500?

The closest Pantone reference to Yellow 500 by ΔE2000 perceptual distance is Pantone 7406 C (#F1B500). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Yellow 500?

The closest RAL Classic reference to Yellow 500 by ΔE2000 distance is RAL 1032 (Broom yellow, #D6AE01). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Yellow 500?

The complementary color (180° opposite on the HSL color wheel) of Yellow 500 is #0840E7. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

Tailwind CSS default palette (v3)

The default color palette shipped with Tailwind CSS v3 by Tailwind Labs Inc. Use as a reference for design tokens, web color systems, and Tailwind-based design conversations. Names like 'blue-500' are the project's own naming convention.

Source type
derived
Confidence
high
License
MIT
Last reviewed
2026-05-24

Workflow tags

tailwind
design-token
web-system
yellow

Tailwind palette values are designed for digital interfaces under sRGB. For print, convert to a process-appropriate value and proof against the substrate; do not rely on sRGB CMYK conversion for color-critical print work.

Tailwind CSS palette · Yellow 500 — #EAB308 | PantoneTools