#E2DE5B#E2DE5B

#E2DE5B is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 87.9% C 0.151 H 107.5°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#E2DE5B
RGBrgb(226, 222, 91)
HSLhsl(58, 70%, 62%)
HSVhsv(58, 60%, 89%)
CMYKcmyk(0%, 1.8%, 59.7%, 11.4%)
CIE-LABlab(86.59, -14.76, 62.96)
CIE-LCHlch(86.59, 64.67, 103.20°)
OKLaboklab(87.93% -0.0454 0.1442)
OKLCHoklch(87.93% 0.151 107.5)
XYZxyz(59.3755, 69.1684, 20.1186)
Luminance0.6917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DE5B #5B5FE2
analogous
#E29A5B #E2DE5B #A3E25B
triadic
#E2DE5B #5BE2DE #DE5BE2
tetradic
#E2DE5B #5BE29A #5B5FE2 #E25BA3
square
#E2DE5B #5BE29A #5B5FE2 #E25BA3
split-complementary
#E2DE5B #5BA3E2 #9A5BE2
monochromatic
#A5A11D #D9D427 #E2DE5B #EBE88F #F4F3C3

Accessibility & contrast

On white

1.42
#E2DE5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#E2DE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DE5B
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DE5B#FFFFFF#000000##000000
##E2DE5B1.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD64C
Deuteranopia (green-blind)
#F2DB63
Tritanopia (blue-blind)
#F1D1C2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e2de5b;
/* rgb */ color: rgb(226, 222, 91);
/* oklch */ color: oklch(87.9% 0.151 107.5);
Tailwind
colors: {
  custom: {
    50: '#eee88f',
    500: '#e2de5b',
    950: '#000000',
  },
}
SCSS
$custom: #e2de5b;
$custom-light: #eee88f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2de5b",
  "rgb": {
    "r": 226,
    "g": 222,
    "b": 91
  },
  "hsl": {
    "h": 58.222,
    "s": 69.948,
    "l": 62.157
  },
  "oklch": {
    "l": 0.87928,
    "c": 0.15115,
    "h": 107.5
  },
  "luminance": 0.69167
}

Semantic roles & 50–950 ramp

primary
#E2DE5B
secondary
#393DA8
accent
#19D214
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E2DE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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