#E2D158#E2D158

#E2D158 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.2% C 0.141 H 101.3°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#E2D158
RGBrgb(226, 209, 88)
HSLhsl(53, 70%, 62%)
HSVhsv(53, 61%, 89%)
CMYKcmyk(0%, 7.5%, 61.1%, 11.4%)
CIE-LABlab(83.17, -8.45, 60.52)
CIE-LCHlch(83.17, 61.10, 97.95°)
OKLaboklab(85.2% -0.0278 0.1386)
OKLCHoklch(85.2% 0.141 101.3)
XYZxyz(55.9281, 62.4765, 18.3438)
Luminance0.6247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D158 #5869E2
analogous
#E28C58 #E2D158 #AEE258
triadic
#E2D158 #58E2D1 #D158E2
tetradic
#E2D158 #58E28C #5869E2 #E258AE
square
#E2D158 #58E28C #5869E2 #E258AE
split-complementary
#E2D158 #58AEE2 #8C58E2
monochromatic
#A3931C #D7C125 #E2D158 #EBDF8C #F4EEC0

Accessibility & contrast

On white

1.56
#E2D158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.49
#E2D158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D158
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D158#FFFFFF#000000##000000
##E2D1581.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB4A
Deuteranopia (green-blind)
#E8D25E
Tritanopia (blue-blind)
#F2C3B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e2d158;
/* rgb */ color: rgb(226, 209, 88);
/* oklch */ color: oklch(85.2% 0.141 101.3);
Tailwind
colors: {
  custom: {
    50: '#eede8c',
    500: '#e2d158',
    950: '#000000',
  },
}
SCSS
$custom: #e2d158;
$custom-light: #eede8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d158",
  "rgb": {
    "r": 226,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 52.609,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.85199,
    "c": 0.14132,
    "h": 101.3
  },
  "luminance": 0.62474
}

Semantic roles & 50–950 ramp

primary
#E2D158
secondary
#3846A6
accent
#2BD213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D158

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

Preview Lab → · Contrast checker → · Palette generator →

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