#E2DB51#E2DB51

#E2DB51 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.2% C 0.156 H 106.4°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#E2DB51
RGBrgb(226, 219, 81)
HSLhsl(57, 71%, 60%)
HSVhsv(57, 64%, 89%)
CMYKcmyk(0%, 3.1%, 64.2%, 11.4%)
CIE-LABlab(85.72, -13.90, 66.16)
CIE-LCHlch(85.72, 67.60, 101.87°)
OKLaboklab(87.21% -0.044 0.1495)
OKLCHoklch(87.21% 0.156 106.4)
XYZxyz(58.1828, 67.4278, 17.7330)
Luminance0.6743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DB51 #5158E2
analogous
#E29251 #E2DB51 #A1E251
triadic
#E2DB51 #51E2DB #DB51E2
tetradic
#E2DB51 #51E292 #5158E2 #E251A1
square
#E2DB51 #51E292 #5158E2 #E251A1
split-complementary
#E2DB51 #51A1E2 #9251E2
monochromatic
#9E981A #D3CA23 #E2DB51 #EBE685 #F3F1BA

Accessibility & contrast

On white

1.45
#E2DB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.49
#E2DB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DB51
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DB51#FFFFFF#000000##000000
##E2DB511.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD33F
Deuteranopia (green-blind)
#F0D95A
Tritanopia (blue-blind)
#F2CDBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e2db51;
/* rgb */ color: rgb(226, 219, 81);
/* oklch */ color: oklch(87.2% 0.156 106.4);
Tailwind
colors: {
  custom: {
    50: '#eee588',
    500: '#e2db51',
    950: '#000000',
  },
}
SCSS
$custom: #e2db51;
$custom-light: #eee588;
$custom-dark: #000000;
JSON
{
  "hex": "#e2db51",
  "rgb": {
    "r": 226,
    "g": 219,
    "b": 81
  },
  "hsl": {
    "h": 57.103,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87211,
    "c": 0.15586,
    "h": 106.4
  },
  "luminance": 0.67426
}

Semantic roles & 50–950 ramp

primary
#E2DB51
secondary
#363BA1
accent
#1BD312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2DB51

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

Preview Lab → · Contrast checker → · Palette generator →

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