#E9D161#E9D161

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

Color values

HEX#E9D161
RGBrgb(233, 209, 97)
HSLhsl(49, 76%, 65%)
HSVhsv(49, 58%, 91%)
CMYKcmyk(0%, 10.3%, 58.4%, 8.6%)
CIE-LABlab(83.86, -4.95, 57.47)
CIE-LCHlch(83.86, 57.68, 94.92°)
OKLaboklab(85.92% -0.0171 0.1331)
OKLCHoklch(85.92% 0.134 97.3)
XYZxyz(58.5647, 63.7902, 20.5348)
Luminance0.6379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D161 #6179E9
analogous
#E98D61 #E9D161 #BDE961
triadic
#E9D161 #61E9D1 #D161E9
tetradic
#E9D161 #61E98D #6179E9 #E961BD
square
#E9D161 #61E98D #6179E9 #E961BD
split-complementary
#E9D161 #61BDE9 #8D61E9
monochromatic
#B69B19 #E2C12B #E9D161 #F0E197 #F8F0CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E9D161#FFFFFF#000000##000000
##E9D1611.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)
#E3CC55
Deuteranopia (green-blind)
#EAD566
Tritanopia (blue-blind)
#FAC3B8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e9d161;
/* rgb */ color: rgb(233, 209, 97);
/* oklch */ color: oklch(85.9% 0.134 97.3);
Tailwind
colors: {
  custom: {
    50: '#f3de91',
    500: '#e9d161',
    950: '#000000',
  },
}
SCSS
$custom: #e9d161;
$custom-light: #f3de91;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d161",
  "rgb": {
    "r": 233,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 49.412,
    "s": 75.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.85917,
    "c": 0.13416,
    "h": 97.3
  },
  "luminance": 0.63788
}

Semantic roles & 50–950 ramp

primary
#E9D161
secondary
#384EB6
accent
#31D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E9D161

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

Preview Lab → · Contrast checker → · Palette generator →

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