#E9D97A#E9D97A

#E9D97A is a very light, moderate yellow. Relative luminance 0.684; OKLCH L 87.8% C 0.118 H 99.9°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#E9D97A
RGBrgb(233, 217, 122)
HSLhsl(51, 72%, 70%)
HSVhsv(51, 48%, 91%)
CMYKcmyk(0%, 6.9%, 47.6%, 8.6%)
CIE-LABlab(86.18, -6.98, 48.48)
CIE-LCHlch(86.18, 48.98, 98.19°)
OKLaboklab(87.85% -0.0203 0.1159)
OKLCHoklch(87.85% 0.118 99.9)
XYZxyz(61.9317, 68.3566, 28.3404)
Luminance0.6835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D97A #7A8AE9
analogous
#E9A17A #E9D97A #C2E97A
triadic
#E9D97A #7AE9D9 #D97AE9
tetradic
#E9D97A #7AE9A1 #7A8AE9 #E97AC2
square
#E9D97A #7AE9A1 #7A8AE9 #E97AC2
split-complementary
#E9D97A #7AC2E9 #A17AE9
monochromatic
#C8B021 #E0CA45 #E9D97A #F2E8AF #FAF7E3

Accessibility & contrast

On white

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

On black

14.67
#E9D97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9D97A
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9D97A#FFFFFF#000000##000000
##E9D97A1.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D472
Deuteranopia (green-blind)
#EEDA7E
Tritanopia (blue-blind)
#F8CDC3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e9d97a;
/* rgb */ color: rgb(233, 217, 122);
/* oklch */ color: oklch(87.8% 0.118 99.9);
Tailwind
colors: {
  custom: {
    50: '#f2e4a2',
    500: '#e9d97a',
    950: '#000000',
  },
}
SCSS
$custom: #e9d97a;
$custom-light: #f2e4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d97a",
  "rgb": {
    "r": 233,
    "g": 217,
    "b": 122
  },
  "hsl": {
    "h": 51.351,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.8785,
    "c": 0.11766,
    "h": 99.9
  },
  "luminance": 0.68354
}

Semantic roles & 50–950 ramp

primary
#E9D97A
secondary
#4658C1
accent
#2ED412
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E9D97A

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

Preview Lab → · Contrast checker → · Palette generator →

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