#E2DE51#E2DE51

#E2DE51 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 87.8% C 0.159 H 107.7°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#E2DE51
RGBrgb(226, 222, 81)
HSLhsl(58, 71%, 60%)
HSVhsv(58, 64%, 89%)
CMYKcmyk(0%, 1.8%, 64.2%, 11.4%)
CIE-LABlab(86.51, -15.39, 66.98)
CIE-LCHlch(86.51, 68.72, 102.94°)
OKLaboklab(87.84% -0.0482 0.1512)
OKLCHoklch(87.84% 0.159 107.7)
XYZxyz(58.9725, 69.0072, 17.9963)
Luminance0.6901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DE51 #5155E2
analogous
#E29651 #E2DE51 #9DE251
triadic
#E2DE51 #51E2DE #DE51E2
tetradic
#E2DE51 #51E296 #5155E2 #E2519D
square
#E2DE51 #51E296 #5155E2 #E2519D
split-complementary
#E2DE51 #519DE2 #9651E2
monochromatic
#9E9B1A #D3CE23 #E2DE51 #EBE885 #F3F2BA

Accessibility & contrast

On white

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

On black

14.80
#E2DE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DE51
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DE51#FFFFFF#000000##000000
##E2DE511.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63E
Deuteranopia (green-blind)
#F2DB5A
Tritanopia (blue-blind)
#F2D0C1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2de51;
/* rgb */ color: rgb(226, 222, 81);
/* oklch */ color: oklch(87.8% 0.159 107.7);
Tailwind
colors: {
  custom: {
    50: '#eee889',
    500: '#e2de51',
    950: '#000000',
  },
}
SCSS
$custom: #e2de51;
$custom-light: #eee889;
$custom-dark: #000000;
JSON
{
  "hex": "#e2de51",
  "rgb": {
    "r": 226,
    "g": 222,
    "b": 81
  },
  "hsl": {
    "h": 58.345,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87839,
    "c": 0.15875,
    "h": 107.7
  },
  "luminance": 0.69005
}

Semantic roles & 50–950 ramp

primary
#E2DE51
secondary
#3639A1
accent
#17D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2DE51

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

Preview Lab → · Contrast checker → · Palette generator →

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