#E2DD59#E2DD59

#E2DD59 is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 87.7% C 0.152 H 107.1°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#E2DD59
RGBrgb(226, 221, 89)
HSLhsl(58, 70%, 62%)
HSVhsv(58, 61%, 89%)
CMYKcmyk(0%, 2.2%, 60.6%, 11.4%)
CIE-LABlab(86.31, -14.40, 63.50)
CIE-LCHlch(86.31, 65.11, 102.78°)
OKLaboklab(87.7% -0.0446 0.145)
OKLCHoklch(87.7% 0.152 107.1)
XYZxyz(59.0256, 68.6048, 19.5820)
Luminance0.6860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DD59 #595EE2
analogous
#E29959 #E2DD59 #A3E259
triadic
#E2DD59 #59E2DD #DD59E2
tetradic
#E2DD59 #59E299 #595EE2 #E259A3
square
#E2DD59 #59E299 #595EE2 #E259A3
split-complementary
#E2DD59 #59A3E2 #9959E2
monochromatic
#A49F1D #D8D226 #E2DD59 #EBE88D #F4F2C1

Accessibility & contrast

On white

1.43
#E2DD59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.72
#E2DD59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DD59
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DD59#FFFFFF#000000##000000
##E2DD591.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED549
Deuteranopia (green-blind)
#F1DA61
Tritanopia (blue-blind)
#F1D0C1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2dd59;
/* rgb */ color: rgb(226, 221, 89);
/* oklch */ color: oklch(87.7% 0.152 107.1);
Tailwind
colors: {
  custom: {
    50: '#eee78d',
    500: '#e2dd59',
    950: '#000000',
  },
}
SCSS
$custom: #e2dd59;
$custom-light: #eee78d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dd59",
  "rgb": {
    "r": 226,
    "g": 221,
    "b": 89
  },
  "hsl": {
    "h": 57.81,
    "s": 70.256,
    "l": 61.765
  },
  "oklch": {
    "l": 0.877,
    "c": 0.15174,
    "h": 107.1
  },
  "luminance": 0.68603
}

Semantic roles & 50–950 ramp

primary
#E2DD59
secondary
#393DA6
accent
#1AD213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E2DD59

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

Preview Lab → · Contrast checker → · Palette generator →

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