#EEDC97#EEDC97

#EEDC97 is a very light, moderate yellow. Relative luminance 0.716; OKLCH L 89.3% C 0.090 H 95.3°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#EEDC97
RGBrgb(238, 220, 151)
HSLhsl(48, 72%, 76%)
HSVhsv(48, 37%, 93%)
CMYKcmyk(0%, 7.6%, 36.6%, 6.7%)
CIE-LABlab(87.78, -3.56, 36.17)
CIE-LCHlch(87.78, 36.35, 95.63°)
OKLaboklab(89.34% -0.0082 0.0894)
OKLCHoklch(89.34% 0.09 95.3)
XYZxyz(66.4402, 71.5999, 39.5925)
Luminance0.7160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEDC97 #97A9EE
analogous
#EEB197 #EEDC97 #D5EE97
triadic
#EEDC97 #97EEDC #DC97EE
tetradic
#EEDC97 #97EEB1 #97A9EE #EE97D5
square
#EEDC97 #97EEB1 #97A9EE #EE97D5
split-complementary
#EEDC97 #97D5EE #B197EE
monochromatic
#DDB92E #E5CA62 #EEDC97 #F7EECC #FBF6E5

Accessibility & contrast

On white

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

On black

15.32
#EEDC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEDC97
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEDC97#FFFFFF#000000##000000
##EEDC971.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD992
Deuteranopia (green-blind)
#EFDF99
Tritanopia (blue-blind)
#FBD2CA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #eedc97;
/* rgb */ color: rgb(238, 220, 151);
/* oklch */ color: oklch(89.3% 0.090 95.3);
Tailwind
colors: {
  custom: {
    50: '#f5e6b6',
    500: '#eedc97',
    950: '#000000',
  },
}
SCSS
$custom: #eedc97;
$custom-light: #f5e6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#eedc97",
  "rgb": {
    "r": 238,
    "g": 220,
    "b": 151
  },
  "hsl": {
    "h": 47.586,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.89342,
    "c": 0.08982,
    "h": 95.3
  },
  "luminance": 0.71598
}

Semantic roles & 50–950 ramp

primary
#EEDC97
secondary
#5F75CA
accent
#3AD412
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EEDC97

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

Preview Lab → · Contrast checker → · Palette generator →

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