#E9DC51#E9DC51

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

Color values

HEX#E9DC51
RGBrgb(233, 220, 81)
HSLhsl(55, 78%, 62%)
HSVhsv(55, 65%, 91%)
CMYKcmyk(0%, 5.6%, 65.2%, 8.6%)
CIE-LABlab(86.56, -11.51, 67.21)
CIE-LCHlch(86.56, 68.19, 99.72°)
OKLaboklab(88.02% -0.0377 0.1515)
OKLCHoklch(88.02% 0.156 104)
XYZxyz(60.6850, 69.1064, 17.9253)
Luminance0.6910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9DC51 #515EE9
analogous
#E99051 #E9DC51 #AAE951
triadic
#E9DC51 #51E9DC #DC51E9
tetradic
#E9DC51 #51E990 #515EE9 #E951AA
square
#E9DC51 #51E990 #515EE9 #E951AA
split-complementary
#E9DC51 #51AAE9 #9051E9
monochromatic
#AA9D16 #E0D01C #E9DC51 #F0E787 #F7F2BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E9DC51#FFFFFF#000000##000000
##E9DC511.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)
#EFD53F
Deuteranopia (green-blind)
#F3DC59
Tritanopia (blue-blind)
#FACEBF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e9dc51;
/* rgb */ color: rgb(233, 220, 81);
/* oklch */ color: oklch(88.0% 0.156 104.0);
Tailwind
colors: {
  custom: {
    50: '#f3e689',
    500: '#e9dc51',
    950: '#000000',
  },
}
SCSS
$custom: #e9dc51;
$custom-light: #f3e689;
$custom-dark: #000000;
JSON
{
  "hex": "#e9dc51",
  "rgb": {
    "r": 233,
    "g": 220,
    "b": 81
  },
  "hsl": {
    "h": 54.868,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.88016,
    "c": 0.15614,
    "h": 104
  },
  "luminance": 0.69104
}

Semantic roles & 50–950 ramp

primary
#E9DC51
secondary
#333DAB
accent
#1DDA0C
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E9DC51

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

Preview Lab → · Contrast checker → · Palette generator →

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