#E2DA51#E2DA51

#E2DA51 is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.0% C 0.155 H 106.0°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#E2DA51
RGBrgb(226, 218, 81)
HSLhsl(57, 71%, 60%)
HSVhsv(57, 64%, 89%)
CMYKcmyk(0%, 3.5%, 64.2%, 11.4%)
CIE-LABlab(85.46, -13.41, 65.88)
CIE-LCHlch(85.46, 67.23, 101.50°)
OKLaboklab(87% -0.0426 0.1489)
OKLCHoklch(87% 0.155 106)
XYZxyz(57.9227, 66.9076, 17.6463)
Luminance0.6691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DA51 #5159E2
analogous
#E29251 #E2DA51 #A1E251
triadic
#E2DA51 #51E2DA #DA51E2
tetradic
#E2DA51 #51E292 #5159E2 #E251A1
square
#E2DA51 #51E292 #5159E2 #E251A1
split-complementary
#E2DA51 #51A1E2 #9251E2
monochromatic
#9E971A #D3C923 #E2DA51 #EBE585 #F3F0BA

Accessibility & contrast

On white

1.46
#E2DA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#E2DA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DA51
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DA51#FFFFFF#000000##000000
##E2DA511.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD23F
Deuteranopia (green-blind)
#EFD859
Tritanopia (blue-blind)
#F2CCBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e2da51;
/* rgb */ color: rgb(226, 218, 81);
/* oklch */ color: oklch(87.0% 0.155 106.0);
Tailwind
colors: {
  custom: {
    50: '#eee588',
    500: '#e2da51',
    950: '#000000',
  },
}
SCSS
$custom: #e2da51;
$custom-light: #eee588;
$custom-dark: #000000;
JSON
{
  "hex": "#e2da51",
  "rgb": {
    "r": 226,
    "g": 218,
    "b": 81
  },
  "hsl": {
    "h": 56.69,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87002,
    "c": 0.15491,
    "h": 106
  },
  "luminance": 0.66906
}

Semantic roles & 50–950 ramp

primary
#E2DA51
secondary
#363CA1
accent
#1DD312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2DA51

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

Preview Lab → · Contrast checker → · Palette generator →

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