#E8D161#E8D161

#E8D161 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.8% C 0.134 H 97.8°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#E8D161
RGBrgb(232, 209, 97)
HSLhsl(50, 75%, 65%)
HSVhsv(50, 58%, 91%)
CMYKcmyk(0%, 9.9%, 58.2%, 9%)
CIE-LABlab(83.77, -5.36, 57.35)
CIE-LCHlch(83.77, 57.60, 95.34°)
OKLaboklab(85.83% -0.0183 0.1328)
OKLCHoklch(85.83% 0.134 97.8)
XYZxyz(58.2391, 63.6223, 20.5196)
Luminance0.6362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D161 #6178E8
analogous
#E88E61 #E8D161 #BBE861
triadic
#E8D161 #61E8D1 #D161E8
tetradic
#E8D161 #61E88E #6178E8 #E861BB
square
#E8D161 #61E88E #6178E8 #E861BB
split-complementary
#E8D161 #61BBE8 #8E61E8
monochromatic
#B49A1A #E0C12C #E8D161 #F0E196 #F8F0CC

Accessibility & contrast

On white

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

On black

13.72
#E8D161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D161
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D161#FFFFFF#000000##000000
##E8D1611.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC55
Deuteranopia (green-blind)
#E9D466
Tritanopia (blue-blind)
#F8C3B8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e8d161;
/* rgb */ color: rgb(232, 209, 97);
/* oklch */ color: oklch(85.8% 0.134 97.8);
Tailwind
colors: {
  custom: {
    50: '#f2de91',
    500: '#e8d161',
    950: '#000000',
  },
}
SCSS
$custom: #e8d161;
$custom-light: #f2de91;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d161",
  "rgb": {
    "r": 232,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 49.778,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85827,
    "c": 0.13407,
    "h": 97.8
  },
  "luminance": 0.6362
}

Semantic roles & 50–950 ramp

primary
#E8D161
secondary
#394EB5
accent
#31D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D161

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

Preview Lab → · Contrast checker → · Palette generator →

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