#E8DF5A#E8DF5A

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

Color values

HEX#E8DF5A
RGBrgb(232, 223, 90)
HSLhsl(56, 76%, 63%)
HSVhsv(56, 61%, 91%)
CMYKcmyk(0%, 3.9%, 61.2%, 9%)
CIE-LABlab(87.33, -12.87, 64.32)
CIE-LCHlch(87.33, 65.60, 101.32°)
OKLaboklab(88.63% -0.0405 0.1468)
OKLCHoklch(88.63% 0.152 105.4)
XYZxyz(61.5140, 70.6714, 20.0715)
Luminance0.7067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DF5A #5A63E8
analogous
#E8985A #E8DF5A #AAE85A
triadic
#E8DF5A #5AE8DF #DF5AE8
tetradic
#E8DF5A #5AE898 #5A63E8 #E85AAA
square
#E8DF5A #5AE898 #5A63E8 #E85AAA
split-complementary
#E8DF5A #5AAAE8 #985AE8
monochromatic
#AFA618 #E1D524 #E8DF5A #EFE990 #F7F4C5

Accessibility & contrast

On white

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

On black

15.13
#E8DF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DF5A
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DF5A#FFFFFF#000000##000000
##E8DF5A1.001.3915.1315.13
#FFFFFF1.391.0021.0021.00
#00000015.1321.001.001.00
##00000015.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8df5a;
/* rgb */ color: rgb(232, 223, 90);
/* oklch */ color: oklch(88.6% 0.152 105.4);
Tailwind
colors: {
  custom: {
    50: '#f2e88e',
    500: '#e8df5a',
    950: '#000000',
  },
}
SCSS
$custom: #e8df5a;
$custom-light: #f2e88e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8df5a",
  "rgb": {
    "r": 232,
    "g": 223,
    "b": 90
  },
  "hsl": {
    "h": 56.197,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.8863,
    "c": 0.15226,
    "h": 105.4
  },
  "luminance": 0.70669
}

Semantic roles & 50–950 ramp

primary
#E8DF5A
secondary
#363EB0
accent
#1BD80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E8DF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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