#E2DF5A#E2DF5A

#E2DF5A is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.1% C 0.153 H 107.9°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#E2DF5A
RGBrgb(226, 223, 90)
HSLhsl(59, 70%, 62%)
HSVhsv(59, 60%, 89%)
CMYKcmyk(0%, 1.3%, 60.2%, 11.4%)
CIE-LABlab(86.84, -15.32, 63.66)
CIE-LCHlch(86.84, 65.48, 103.53°)
OKLaboklab(88.13% -0.0471 0.1455)
OKLCHoklch(88.13% 0.153 107.9)
XYZxyz(59.5991, 69.6841, 19.9818)
Luminance0.6968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF5A #5A5DE2
analogous
#E29B5A #E2DF5A #A1E25A
triadic
#E2DF5A #5AE2DF #DF5AE2
tetradic
#E2DF5A #5AE29B #5A5DE2 #E25AA1
square
#E2DF5A #5AE29B #5A5DE2 #E25AA1
split-complementary
#E2DF5A #5AA1E2 #9B5AE2
monochromatic
#A5A21D #D9D526 #E2DF5A #EBE98E #F4F3C2

Accessibility & contrast

On white

1.41
#E2DF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.94
#E2DF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF5A
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF5A#FFFFFF#000000##000000
##E2DF5A1.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D74A
Deuteranopia (green-blind)
#F2DC62
Tritanopia (blue-blind)
#F1D2C3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e2df5a;
/* rgb */ color: rgb(226, 223, 90);
/* oklch */ color: oklch(88.1% 0.153 107.9);
Tailwind
colors: {
  custom: {
    50: '#eee88e',
    500: '#e2df5a',
    950: '#000000',
  },
}
SCSS
$custom: #e2df5a;
$custom-light: #eee88e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df5a",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 90
  },
  "hsl": {
    "h": 58.676,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.88128,
    "c": 0.15294,
    "h": 107.9
  },
  "luminance": 0.69682
}

Semantic roles & 50–950 ramp

primary
#E2DF5A
secondary
#393CA7
accent
#18D213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E2DF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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