#E9D474#E9D474

#E9D474 is a very light, moderate yellow. Relative luminance 0.657; OKLCH L 86.8% C 0.119 H 97.3°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#E9D474
RGBrgb(233, 212, 116)
HSLhsl(49, 73%, 68%)
HSVhsv(49, 50%, 91%)
CMYKcmyk(0%, 9%, 50.2%, 8.6%)
CIE-LABlab(84.83, -4.97, 49.73)
CIE-LCHlch(84.83, 49.98, 95.71°)
OKLaboklab(86.75% -0.0151 0.1182)
OKLCHoklch(86.75% 0.119 97.3)
XYZxyz(60.3021, 65.6739, 26.0195)
Luminance0.6567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D474 #7489E9
analogous
#E99974 #E9D474 #C3E974
triadic
#E9D474 #74E9D4 #D474E9
tetradic
#E9D474 #74E999 #7489E9 #E974C3
square
#E9D474 #74E999 #7489E9 #E974C3
split-complementary
#E9D474 #74C3E9 #9974E9
monochromatic
#C4A61F #E1C43F #E9D474 #F1E4A9 #FAF5DE

Accessibility & contrast

On white

1.49
#E9D474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#E9D474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9D474
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9D474#FFFFFF#000000##000000
##E9D4741.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D06C
Deuteranopia (green-blind)
#EAD778
Tritanopia (blue-blind)
#F8C8BE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e9d474;
/* rgb */ color: rgb(233, 212, 116);
/* oklch */ color: oklch(86.8% 0.119 97.3);
Tailwind
colors: {
  custom: {
    50: '#f2e19e',
    500: '#e9d474',
    950: '#000000',
  },
}
SCSS
$custom: #e9d474;
$custom-light: #f2e19e;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d474",
  "rgb": {
    "r": 233,
    "g": 212,
    "b": 116
  },
  "hsl": {
    "h": 49.231,
    "s": 72.671,
    "l": 68.431
  },
  "oklch": {
    "l": 0.86754,
    "c": 0.11915,
    "h": 97.3
  },
  "luminance": 0.65672
}

Semantic roles & 50–950 ramp

primary
#E9D474
secondary
#4057C1
accent
#34D511
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E9D474

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

Preview Lab → · Contrast checker → · Palette generator →

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