#E8DF5C#E8DF5C

#E8DF5C 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#E8DF5C
RGBrgb(232, 223, 92)
HSLhsl(56, 75%, 64%)
HSVhsv(56, 60%, 91%)
CMYKcmyk(0%, 3.9%, 60.3%, 9%)
CIE-LABlab(87.34, -12.74, 63.50)
CIE-LCHlch(87.34, 64.76, 101.35°)
OKLaboklab(88.65% -0.0399 0.1453)
OKLCHoklch(88.65% 0.151 105.4)
XYZxyz(61.6003, 70.7060, 20.5259)
Luminance0.7070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DF5C #5C65E8
analogous
#E8995C #E8DF5C #ABE85C
triadic
#E8DF5C #5CE8DF #DF5CE8
tetradic
#E8DF5C #5CE899 #5C65E8 #E85CAB
square
#E8DF5C #5CE899 #5C65E8 #E85CAB
split-complementary
#E8DF5C #5CABE8 #995CE8
monochromatic
#B1A719 #E0D426 #E8DF5C #F0EA92 #F7F4C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8DF5C#FFFFFF#000000##000000
##E8DF5C1.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)
#F1D84D
Deuteranopia (green-blind)
#F4DE63
Tritanopia (blue-blind)
#F8D1C3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e8df5c;
/* rgb */ color: rgb(232, 223, 92);
/* oklch */ color: oklch(88.6% 0.151 105.4);
Tailwind
colors: {
  custom: {
    50: '#f2e88f',
    500: '#e8df5c',
    950: '#000000',
  },
}
SCSS
$custom: #e8df5c;
$custom-light: #f2e88f;
$custom-dark: #000000;
JSON
{
  "hex": "#e8df5c",
  "rgb": {
    "r": 232,
    "g": 223,
    "b": 92
  },
  "hsl": {
    "h": 56.143,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.88649,
    "c": 0.15068,
    "h": 105.4
  },
  "luminance": 0.70704
}

Semantic roles & 50–950 ramp

primary
#E8DF5C
secondary
#373FB1
accent
#1BD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E8DF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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