#E9DC74#E9DC74

#E9DC74 is a very light, vivid yellow. Relative luminance 0.698; OKLCH L 88.4% C 0.126 H 102.2°. Best body text is #000000 at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#E9DC74
RGBrgb(233, 220, 116)
HSLhsl(53, 73%, 68%)
HSVhsv(53, 50%, 91%)
CMYKcmyk(0%, 5.6%, 50.2%, 8.6%)
CIE-LABlab(86.89, -9.02, 52.20)
CIE-LCHlch(86.89, 52.97, 99.81°)
OKLaboklab(88.38% -0.0268 0.1236)
OKLCHoklch(88.38% 0.126 102.2)
XYZxyz(62.3517, 69.7731, 26.7027)
Luminance0.6977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9DC74 #7481E9
analogous
#E9A174 #E9DC74 #BBE974
triadic
#E9DC74 #74E9DC #DC74E9
tetradic
#E9DC74 #74E9A1 #7481E9 #E974BB
square
#E9DC74 #74E9A1 #7481E9 #E974BB
split-complementary
#E9DC74 #74BBE9 #A174E9
monochromatic
#C4B11F #E1CF3F #E9DC74 #F1E9A9 #FAF7DE

Accessibility & contrast

On white

1.40
#E9DC74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.95
#E9DC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9DC74
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9DC74#FFFFFF#000000##000000
##E9DC741.001.4014.9514.95
#FFFFFF1.401.0021.0021.00
#00000014.9521.001.001.00
##00000014.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD66B
Deuteranopia (green-blind)
#F0DC79
Tritanopia (blue-blind)
#F8D0C4
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e9dc74;
/* rgb */ color: rgb(233, 220, 116);
/* oklch */ color: oklch(88.4% 0.126 102.2);
Tailwind
colors: {
  custom: {
    50: '#f2e69e',
    500: '#e9dc74',
    950: '#000000',
  },
}
SCSS
$custom: #e9dc74;
$custom-light: #f2e69e;
$custom-dark: #000000;
JSON
{
  "hex": "#e9dc74",
  "rgb": {
    "r": 233,
    "g": 220,
    "b": 116
  },
  "hsl": {
    "h": 53.333,
    "s": 72.671,
    "l": 68.431
  },
  "oklch": {
    "l": 0.88383,
    "c": 0.12647,
    "h": 102.2
  },
  "luminance": 0.69771
}

Semantic roles & 50–950 ramp

primary
#E9DC74
secondary
#404FC1
accent
#27D511
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E9DC74

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

Preview Lab → · Contrast checker → · Palette generator →

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