#E2DF58#E2DF58

#E2DF58 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.1% C 0.154 H 108.0°. Best body text is #000000 at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#E2DF58
RGBrgb(226, 223, 88)
HSLhsl(59, 70%, 62%)
HSVhsv(59, 61%, 89%)
CMYKcmyk(0%, 1.3%, 61.1%, 11.4%)
CIE-LABlab(86.83, -15.45, 64.47)
CIE-LCHlch(86.83, 66.30, 103.48°)
OKLaboklab(88.11% -0.0477 0.147)
OKLCHoklch(88.11% 0.155 108)
XYZxyz(59.5151, 69.6505, 19.5395)
Luminance0.6965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF58 #585BE2
analogous
#E29A58 #E2DF58 #A0E258
triadic
#E2DF58 #58E2DF #DF58E2
tetradic
#E2DF58 #58E29A #585BE2 #E258A0
square
#E2DF58 #58E29A #585BE2 #E258A0
split-complementary
#E2DF58 #58A0E2 #9A58E2
monochromatic
#A3A01C #D7D425 #E2DF58 #EBE98C #F4F3C0

Accessibility & contrast

On white

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

On black

14.93
#E2DF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF58
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF58#FFFFFF#000000##000000
##E2DF581.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2df58;
/* rgb */ color: rgb(226, 223, 88);
/* oklch */ color: oklch(88.1% 0.154 108.0);
Tailwind
colors: {
  custom: {
    50: '#eee88d',
    500: '#e2df58',
    950: '#000000',
  },
}
SCSS
$custom: #e2df58;
$custom-light: #eee88d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df58",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 88
  },
  "hsl": {
    "h": 58.696,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.88109,
    "c": 0.1545,
    "h": 108
  },
  "luminance": 0.69649
}

Semantic roles & 50–950 ramp

primary
#E2DF58
secondary
#383BA6
accent
#17D213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E2DF58

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

Preview Lab → · Contrast checker → · Palette generator →

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