#E9D162#E9D162

#E9D162 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.9% C 0.133 H 97.2°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#E9D162
RGBrgb(233, 209, 98)
HSLhsl(49, 75%, 65%)
HSVhsv(49, 58%, 91%)
CMYKcmyk(0%, 10.3%, 57.9%, 8.6%)
CIE-LABlab(83.87, -4.87, 57.03)
CIE-LCHlch(83.87, 57.24, 94.88°)
OKLaboklab(85.93% -0.0168 0.1322)
OKLCHoklch(85.93% 0.133 97.2)
XYZxyz(58.6117, 63.8090, 20.7820)
Luminance0.6381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D162 #627AE9
analogous
#E98D62 #E9D162 #BEE962
triadic
#E9D162 #62E9D1 #D162E9
tetradic
#E9D162 #62E98D #627AE9 #E962BE
square
#E9D162 #62E98D #627AE9 #E962BE
split-complementary
#E9D162 #62BEE9 #8D62E9
monochromatic
#B79B1A #E1C12C #E9D162 #F1E198 #F8F0CD

Accessibility & contrast

On white

1.53
#E9D162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#E9D162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9D162
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9D162#FFFFFF#000000##000000
##E9D1621.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC57
Deuteranopia (green-blind)
#EAD567
Tritanopia (blue-blind)
#FAC3B8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e9d162;
/* rgb */ color: rgb(233, 209, 98);
/* oklch */ color: oklch(85.9% 0.133 97.2);
Tailwind
colors: {
  custom: {
    50: '#f3de92',
    500: '#e9d162',
    950: '#000000',
  },
}
SCSS
$custom: #e9d162;
$custom-light: #f3de92;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d162",
  "rgb": {
    "r": 233,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 49.333,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.85928,
    "c": 0.1333,
    "h": 97.2
  },
  "luminance": 0.63806
}

Semantic roles & 50–950 ramp

primary
#E9D162
secondary
#384FB7
accent
#32D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E9D162

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

Preview Lab → · Contrast checker → · Palette generator →

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