#E9D94F#E9D94F

#E9D94F is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.4% C 0.155 H 102.7°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#E9D94F
RGBrgb(233, 217, 79)
HSLhsl(54, 78%, 61%)
HSVhsv(54, 66%, 91%)
CMYKcmyk(0%, 6.9%, 66.1%, 8.6%)
CIE-LABlab(85.76, -10.12, 67.18)
CIE-LCHlch(85.76, 67.94, 98.57°)
OKLaboklab(87.38% -0.0339 0.1512)
OKLCHoklch(87.38% 0.155 102.7)
XYZxyz(59.8309, 67.5163, 17.2760)
Luminance0.6751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D94F #4F5FE9
analogous
#E98C4F #E9D94F #ACE94F
triadic
#E9D94F #4FE9D9 #D94FE9
tetradic
#E9D94F #4FE98C #4F5FE9 #E94FAC
square
#E9D94F #4FE98C #4F5FE9 #E94FAC
split-complementary
#E9D94F #4FACE9 #8C4FE9
monochromatic
#A99915 #DFCB1C #E9D94F #F0E585 #F7F0BC

Accessibility & contrast

On white

1.45
#E9D94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.50
#E9D94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9D94F
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9D94F#FFFFFF#000000##000000
##E9D94F1.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD23C
Deuteranopia (green-blind)
#F1DA57
Tritanopia (blue-blind)
#FACABD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e9d94f;
/* rgb */ color: rgb(233, 217, 79);
/* oklch */ color: oklch(87.4% 0.155 102.7);
Tailwind
colors: {
  custom: {
    50: '#f4e487',
    500: '#e9d94f',
    950: '#000000',
  },
}
SCSS
$custom: #e9d94f;
$custom-light: #f4e487;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d94f",
  "rgb": {
    "r": 233,
    "g": 217,
    "b": 79
  },
  "hsl": {
    "h": 53.766,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87381,
    "c": 0.15493,
    "h": 102.7
  },
  "luminance": 0.67514
}

Semantic roles & 50–950 ramp

primary
#E9D94F
secondary
#323FAA
accent
#21DA0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E9D94F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E9D94F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva