#E2DF51#E2DF51

#E2DF51 is a very light, vivid yellow. Relative luminance 0.695; OKLCH L 88.0% C 0.160 H 108.1°. Best body text is #000000 at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#E2DF51
RGBrgb(226, 223, 81)
HSLhsl(59, 71%, 60%)
HSVhsv(59, 64%, 89%)
CMYKcmyk(0%, 1.3%, 64.2%, 11.4%)
CIE-LABlab(86.77, -15.88, 67.25)
CIE-LCHlch(86.77, 69.10, 103.29°)
OKLaboklab(88.05% -0.0496 0.1518)
OKLCHoklch(88.05% 0.16 108.1)
XYZxyz(59.2389, 69.5400, 18.0851)
Luminance0.6954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF51 #5154E2
analogous
#E29751 #E2DF51 #9CE251
triadic
#E2DF51 #51E2DF #DF51E2
tetradic
#E2DF51 #51E297 #5154E2 #E2519C
square
#E2DF51 #51E297 #5154E2 #E2519C
split-complementary
#E2DF51 #519CE2 #9751E2
monochromatic
#9E9C1A #D3CF23 #E2DF51 #EBE985 #F3F2BA

Accessibility & contrast

On white

1.41
#E2DF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.91
#E2DF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF51
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF51#FFFFFF#000000##000000
##E2DF511.001.4114.9114.91
#FFFFFF1.411.0021.0021.00
#00000014.9121.001.001.00
##00000014.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D63E
Deuteranopia (green-blind)
#F3DC5A
Tritanopia (blue-blind)
#F1D1C2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e2df51;
/* rgb */ color: rgb(226, 223, 81);
/* oklch */ color: oklch(88.0% 0.160 108.1);
Tailwind
colors: {
  custom: {
    50: '#eee889',
    500: '#e2df51',
    950: '#000000',
  },
}
SCSS
$custom: #e2df51;
$custom-light: #eee889;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df51",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 58.759,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.88048,
    "c": 0.15973,
    "h": 108.1
  },
  "luminance": 0.69538
}

Semantic roles & 50–950 ramp

primary
#E2DF51
secondary
#3638A1
accent
#16D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2DF51

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

Preview Lab → · Contrast checker → · Palette generator →

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