#E8DF5B#E8DF5B

#E8DF5B is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 88.6% C 0.151 H 105.4°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#E8DF5B
RGBrgb(232, 223, 91)
HSLhsl(56, 75%, 63%)
HSVhsv(56, 61%, 91%)
CMYKcmyk(0%, 3.9%, 60.8%, 9%)
CIE-LABlab(87.33, -12.81, 63.91)
CIE-LCHlch(87.33, 65.18, 101.33°)
OKLaboklab(88.64% -0.0402 0.146)
OKLCHoklch(88.64% 0.151 105.4)
XYZxyz(61.5568, 70.6886, 20.2972)
Luminance0.7069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DF5B #5B64E8
analogous
#E8985B #E8DF5B #AAE85B
triadic
#E8DF5B #5BE8DF #DF5BE8
tetradic
#E8DF5B #5BE898 #5B64E8 #E85BAA
square
#E8DF5B #5BE898 #5B64E8 #E85BAA
split-complementary
#E8DF5B #5BAAE8 #985BE8
monochromatic
#B0A619 #E0D525 #E8DF5B #F0E991 #F7F4C6

Accessibility & contrast

On white

1.39
#E8DF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.14
#E8DF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DF5B
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DF5B#FFFFFF#000000##000000
##E8DF5B1.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D74C
Deuteranopia (green-blind)
#F4DE63
Tritanopia (blue-blind)
#F8D1C3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e8df5b;
/* rgb */ color: rgb(232, 223, 91);
/* oklch */ color: oklch(88.6% 0.151 105.4);
Tailwind
colors: {
  custom: {
    50: '#f2e88f',
    500: '#e8df5b',
    950: '#000000',
  },
}
SCSS
$custom: #e8df5b;
$custom-light: #f2e88f;
$custom-dark: #000000;
JSON
{
  "hex": "#e8df5b",
  "rgb": {
    "r": 232,
    "g": 223,
    "b": 91
  },
  "hsl": {
    "h": 56.17,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.88639,
    "c": 0.15148,
    "h": 105.4
  },
  "luminance": 0.70686
}

Semantic roles & 50–950 ramp

primary
#E8DF5B
secondary
#373EB1
accent
#1BD80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E8DF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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