#E2D959#E2D959

#E2D959 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.9% C 0.148 H 105.3°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#E2D959
RGBrgb(226, 217, 89)
HSLhsl(56, 70%, 62%)
HSVhsv(56, 61%, 89%)
CMYKcmyk(0%, 4%, 60.6%, 11.4%)
CIE-LABlab(85.26, -12.41, 62.37)
CIE-LCHlch(85.26, 63.59, 101.25°)
OKLaboklab(86.87% -0.039 0.1426)
OKLCHoklch(86.87% 0.148 105.3)
XYZxyz(57.9821, 66.5177, 19.2342)
Luminance0.6652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D959 #5962E2
analogous
#E29459 #E2D959 #A7E259
triadic
#E2D959 #59E2D9 #D959E2
tetradic
#E2D959 #59E294 #5962E2 #E259A7
square
#E2D959 #59E294 #5962E2 #E259A7
split-complementary
#E2D959 #59A7E2 #9459E2
monochromatic
#A49B1D #D8CC26 #E2D959 #EBE58D #F4F1C1

Accessibility & contrast

On white

1.47
#E2D959 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.30
#E2D959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D959
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D959#FFFFFF#000000##000000
##E2D9591.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD24A
Deuteranopia (green-blind)
#EED860
Tritanopia (blue-blind)
#F1CCBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2d959;
/* rgb */ color: rgb(226, 217, 89);
/* oklch */ color: oklch(86.9% 0.148 105.3);
Tailwind
colors: {
  custom: {
    50: '#eee48d',
    500: '#e2d959',
    950: '#000000',
  },
}
SCSS
$custom: #e2d959;
$custom-light: #eee48d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d959",
  "rgb": {
    "r": 226,
    "g": 217,
    "b": 89
  },
  "hsl": {
    "h": 56.058,
    "s": 70.256,
    "l": 61.765
  },
  "oklch": {
    "l": 0.86865,
    "c": 0.14786,
    "h": 105.3
  },
  "luminance": 0.66516
}

Semantic roles & 50–950 ramp

primary
#E2D959
secondary
#3940A6
accent
#20D213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2D959

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

Preview Lab → · Contrast checker → · Palette generator →

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