#E9D97D#E9D97D

#E9D97D is a very light, moderate yellow. Relative luminance 0.684; OKLCH L 87.9% C 0.115 H 99.6°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#E9D97D
RGBrgb(233, 217, 125)
HSLhsl(51, 71%, 70%)
HSVhsv(51, 46%, 91%)
CMYKcmyk(0%, 6.9%, 46.4%, 8.6%)
CIE-LABlab(86.22, -6.70, 47.07)
CIE-LCHlch(86.22, 47.55, 98.10°)
OKLaboklab(87.89% -0.0192 0.113)
OKLCHoklch(87.89% 0.115 99.6)
XYZxyz(62.1205, 68.4321, 29.3345)
Luminance0.6843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D97D #7D8DE9
analogous
#E9A37D #E9D97D #C3E97D
triadic
#E9D97D #7DE9D9 #D97DE9
tetradic
#E9D97D #7DE9A3 #7D8DE9 #E97DC3
square
#E9D97D #7DE9A3 #7D8DE9 #E97DC3
split-complementary
#E9D97D #7DC3E9 #A37DE9
monochromatic
#CAB122 #E0CA49 #E9D97D #F2E8B1 #FBF7E5

Accessibility & contrast

On white

1.43
#E9D97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#E9D97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9D97D
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9D97D#FFFFFF#000000##000000
##E9D97D1.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D475
Deuteranopia (green-blind)
#EDDA81
Tritanopia (blue-blind)
#F7CDC3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e9d97d;
/* rgb */ color: rgb(233, 217, 125);
/* oklch */ color: oklch(87.9% 0.115 99.6);
Tailwind
colors: {
  custom: {
    50: '#f2e4a4',
    500: '#e9d97d',
    950: '#000000',
  },
}
SCSS
$custom: #e9d97d;
$custom-light: #f2e4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d97d",
  "rgb": {
    "r": 233,
    "g": 217,
    "b": 125
  },
  "hsl": {
    "h": 51.111,
    "s": 71.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.87892,
    "c": 0.1146,
    "h": 99.6
  },
  "luminance": 0.6843
}

Semantic roles & 50–950 ramp

primary
#E9D97D
secondary
#485AC2
accent
#2FD312
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E9D97D

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

Preview Lab → · Contrast checker → · Palette generator →

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