#E2DF56#E2DF56

#E2DF56 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.1% C 0.156 H 108.0°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#E2DF56
RGBrgb(226, 223, 86)
HSLhsl(59, 71%, 61%)
HSVhsv(59, 62%, 89%)
CMYKcmyk(0%, 1.3%, 61.9%, 11.4%)
CIE-LABlab(86.81, -15.58, 65.28)
CIE-LCHlch(86.81, 67.11, 103.42°)
OKLaboklab(88.09% -0.0483 0.1484)
OKLCHoklch(88.09% 0.156 108)
XYZxyz(59.4334, 69.6178, 19.1091)
Luminance0.6962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF56 #5659E2
analogous
#E29956 #E2DF56 #9FE256
triadic
#E2DF56 #56E2DF #DF56E2
tetradic
#E2DF56 #56E299 #5659E2 #E2569F
square
#E2DF56 #56E299 #5659E2 #E2569F
split-complementary
#E2DF56 #569FE2 #9956E2
monochromatic
#A29F1C #D6D225 #E2DF56 #EBE98A #F4F3BE

Accessibility & contrast

On white

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

On black

14.92
#E2DF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF56
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF56#FFFFFF#000000##000000
##E2DF561.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2df56;
/* rgb */ color: rgb(226, 223, 86);
/* oklch */ color: oklch(88.1% 0.156 108.0);
Tailwind
colors: {
  custom: {
    50: '#eee88c',
    500: '#e2df56',
    950: '#000000',
  },
}
SCSS
$custom: #e2df56;
$custom-light: #eee88c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df56",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 86
  },
  "hsl": {
    "h": 58.714,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.88091,
    "c": 0.15604,
    "h": 108
  },
  "luminance": 0.69616
}

Semantic roles & 50–950 ramp

primary
#E2DF56
secondary
#383AA5
accent
#17D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2DF56

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

Preview Lab → · Contrast checker → · Palette generator →

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