#EED997#EED997

#EED997 is a very light, moderate yellow. Relative luminance 0.700; OKLCH L 88.7% C 0.087 H 92.5°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#EED997
RGBrgb(238, 217, 151)
HSLhsl(46, 72%, 76%)
HSVhsv(46, 37%, 93%)
CMYKcmyk(0%, 8.8%, 36.6%, 6.7%)
CIE-LABlab(87.02, -2.03, 35.18)
CIE-LCHlch(87.02, 35.23, 93.31°)
OKLaboklab(88.74% -0.0038 0.0871)
OKLCHoklch(88.74% 0.087 92.5)
XYZxyz(65.6599, 70.0394, 39.3324)
Luminance0.7004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EED997 #97ACEE
analogous
#EEAE97 #EED997 #D8EE97
triadic
#EED997 #97EED9 #D997EE
tetradic
#EED997 #97EEAE #97ACEE #EE97D8
square
#EED997 #97EEAE #97ACEE #EE97D8
split-complementary
#EED997 #97D8EE #AE97EE
monochromatic
#DDB32E #E5C662 #EED997 #F7ECCC #FBF5E5

Accessibility & contrast

On white

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

On black

15.01
#EED997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EED997
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EED997#FFFFFF#000000##000000
##EED9971.001.4015.0115.01
#FFFFFF1.401.0021.0021.00
#00000015.0121.001.001.00
##00000015.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D692
Deuteranopia (green-blind)
#ECDD99
Tritanopia (blue-blind)
#FBCFC8
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #eed997;
/* rgb */ color: rgb(238, 217, 151);
/* oklch */ color: oklch(88.7% 0.087 92.5);
Tailwind
colors: {
  custom: {
    50: '#f5e4b6',
    500: '#eed997',
    950: '#000000',
  },
}
SCSS
$custom: #eed997;
$custom-light: #f5e4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#eed997",
  "rgb": {
    "r": 238,
    "g": 217,
    "b": 151
  },
  "hsl": {
    "h": 45.517,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.88742,
    "c": 0.0872,
    "h": 92.5
  },
  "luminance": 0.70037
}

Semantic roles & 50–950 ramp

primary
#EED997
secondary
#5F79CA
accent
#40D412
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #EED997

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

Preview Lab → · Contrast checker → · Palette generator →

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