#E9DF7C#E9DF7C

#E9DF7C is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 89.1% C 0.121 H 103.4°. Best body text is #000000 at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#E9DF7C
RGBrgb(233, 223, 124)
HSLhsl(54, 71%, 70%)
HSVhsv(54, 47%, 91%)
CMYKcmyk(0%, 4.3%, 46.8%, 8.6%)
CIE-LABlab(87.75, -9.81, 49.44)
CIE-LCHlch(87.75, 50.40, 101.23°)
OKLaboklab(89.1% -0.0282 0.1182)
OKLCHoklch(89.1% 0.121 103.4)
XYZxyz(63.6316, 71.5561, 29.5247)
Luminance0.7155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9DF7C #7C86E9
analogous
#E9A87C #E9DF7C #BDE97C
triadic
#E9DF7C #7CE9DF #DF7CE9
tetradic
#E9DF7C #7CE9A8 #7C86E9 #E97CBD
square
#E9DF7C #7CE9A8 #7C86E9 #E97CBD
split-complementary
#E9DF7C #7CBDE9 #A87CE9
monochromatic
#C9BA22 #E0D248 #E9DF7C #F2ECB0 #FBF9E5

Accessibility & contrast

On white

1.37
#E9DF7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.31
#E9DF7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9DF7C
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9DF7C#FFFFFF#000000##000000
##E9DF7C1.001.3715.3115.31
#FFFFFF1.371.0021.0021.00
#00000015.3121.001.001.00
##00000015.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD974
Deuteranopia (green-blind)
#F2DE80
Tritanopia (blue-blind)
#F7D3C8
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e9df7c;
/* rgb */ color: rgb(233, 223, 124);
/* oklch */ color: oklch(89.1% 0.121 103.4);
Tailwind
colors: {
  custom: {
    50: '#f2e8a4',
    500: '#e9df7c',
    950: '#000000',
  },
}
SCSS
$custom: #e9df7c;
$custom-light: #f2e8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e9df7c",
  "rgb": {
    "r": 233,
    "g": 223,
    "b": 124
  },
  "hsl": {
    "h": 54.495,
    "s": 71.242,
    "l": 70
  },
  "oklch": {
    "l": 0.89103,
    "c": 0.12148,
    "h": 103.4
  },
  "luminance": 0.71554
}

Semantic roles & 50–950 ramp

primary
#E9DF7C
secondary
#4853C2
accent
#24D312
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #E9DF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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