#E8DF5E#E8DF5E

#E8DF5E is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 88.7% C 0.149 H 105.3°. Best body text is #000000 at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#E8DF5E
RGBrgb(232, 223, 94)
HSLhsl(56, 75%, 64%)
HSVhsv(56, 59%, 91%)
CMYKcmyk(0%, 3.9%, 59.5%, 9%)
CIE-LABlab(87.36, -12.61, 62.67)
CIE-LCHlch(87.36, 63.92, 101.38°)
OKLaboklab(88.67% -0.0393 0.1438)
OKLCHoklch(88.67% 0.149 105.3)
XYZxyz(61.6889, 70.7414, 20.9924)
Luminance0.7074 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DF5E #5E67E8
analogous
#E89A5E #E8DF5E #ACE85E
triadic
#E8DF5E #5EE8DF #DF5EE8
tetradic
#E8DF5E #5EE89A #5E67E8 #E85EAC
square
#E8DF5E #5EE89A #5E67E8 #E85EAC
split-complementary
#E8DF5E #5EACE8 #9A5EE8
monochromatic
#B2A819 #E0D428 #E8DF5E #F0EA94 #F7F4C9

Accessibility & contrast

On white

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

On black

15.15
#E8DF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DF5E
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DF5E#FFFFFF#000000##000000
##E8DF5E1.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8df5e;
/* rgb */ color: rgb(232, 223, 94);
/* oklch */ color: oklch(88.7% 0.149 105.3);
Tailwind
colors: {
  custom: {
    50: '#f2e890',
    500: '#e8df5e',
    950: '#000000',
  },
}
SCSS
$custom: #e8df5e;
$custom-light: #f2e890;
$custom-dark: #000000;
JSON
{
  "hex": "#e8df5e",
  "rgb": {
    "r": 232,
    "g": 223,
    "b": 94
  },
  "hsl": {
    "h": 56.087,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.88668,
    "c": 0.14907,
    "h": 105.3
  },
  "luminance": 0.70739
}

Semantic roles & 50–950 ramp

primary
#E8DF5E
secondary
#3840B3
accent
#1BD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E8DF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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