#E9DC4F#E9DC4F

#E9DC4F is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 88.0% C 0.158 H 104.0°. Best body text is #000000 at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#E9DC4F
RGBrgb(233, 220, 79)
HSLhsl(55, 78%, 61%)
HSVhsv(55, 66%, 91%)
CMYKcmyk(0%, 5.6%, 66.1%, 8.6%)
CIE-LABlab(86.54, -11.62, 67.98)
CIE-LCHlch(86.54, 68.97, 99.70°)
OKLaboklab(88% -0.0382 0.1529)
OKLCHoklch(88% 0.158 104)
XYZxyz(60.6112, 69.0769, 17.5361)
Luminance0.6907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9DC4F #4F5CE9
analogous
#E98F4F #E9DC4F #A9E94F
triadic
#E9DC4F #4FE9DC #DC4FE9
tetradic
#E9DC4F #4FE98F #4F5CE9 #E94FA9
square
#E9DC4F #4FE98F #4F5CE9 #E94FA9
split-complementary
#E9DC4F #4FA9E9 #8F4FE9
monochromatic
#A99C15 #DFCE1C #E9DC4F #F0E785 #F7F2BC

Accessibility & contrast

On white

1.42
#E9DC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.82
#E9DC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9DC4F
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9DC4F#FFFFFF#000000##000000
##E9DC4F1.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53C
Deuteranopia (green-blind)
#F3DC58
Tritanopia (blue-blind)
#FACDBF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e9dc4f;
/* rgb */ color: rgb(233, 220, 79);
/* oklch */ color: oklch(88.0% 0.158 104.0);
Tailwind
colors: {
  custom: {
    50: '#f4e687',
    500: '#e9dc4f',
    950: '#000000',
  },
}
SCSS
$custom: #e9dc4f;
$custom-light: #f4e687;
$custom-dark: #000000;
JSON
{
  "hex": "#e9dc4f",
  "rgb": {
    "r": 233,
    "g": 220,
    "b": 79
  },
  "hsl": {
    "h": 54.935,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87999,
    "c": 0.15755,
    "h": 104
  },
  "luminance": 0.69075
}

Semantic roles & 50–950 ramp

primary
#E9DC4F
secondary
#323CAA
accent
#1DDA0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E9DC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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