#E2DB56#E2DB56

#E2DB56 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.3% C 0.152 H 106.3°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#E2DB56
RGBrgb(226, 219, 86)
HSLhsl(57, 71%, 61%)
HSVhsv(57, 62%, 89%)
CMYKcmyk(0%, 3.1%, 61.9%, 11.4%)
CIE-LABlab(85.76, -13.60, 64.16)
CIE-LCHlch(85.76, 65.59, 101.97°)
OKLaboklab(87.25% -0.0426 0.146)
OKLCHoklch(87.25% 0.152 106.3)
XYZxyz(58.3773, 67.5056, 18.7571)
Luminance0.6750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DB56 #565DE2
analogous
#E29556 #E2DB56 #A3E256
triadic
#E2DB56 #56E2DB #DB56E2
tetradic
#E2DB56 #56E295 #565DE2 #E256A3
square
#E2DB56 #56E295 #565DE2 #E256A3
split-complementary
#E2DB56 #56A3E2 #9556E2
monochromatic
#A29B1C #D6CD25 #E2DB56 #EBE68A #F4F1BE

Accessibility & contrast

On white

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

On black

14.50
#E2DB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DB56
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DB56#FFFFFF#000000##000000
##E2DB561.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2db56;
/* rgb */ color: rgb(226, 219, 86);
/* oklch */ color: oklch(87.3% 0.152 106.3);
Tailwind
colors: {
  custom: {
    50: '#eee58b',
    500: '#e2db56',
    950: '#000000',
  },
}
SCSS
$custom: #e2db56;
$custom-light: #eee58b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2db56",
  "rgb": {
    "r": 226,
    "g": 219,
    "b": 86
  },
  "hsl": {
    "h": 57,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87254,
    "c": 0.15212,
    "h": 106.3
  },
  "luminance": 0.67504
}

Semantic roles & 50–950 ramp

primary
#E2DB56
secondary
#383DA5
accent
#1CD313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2DB56

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

Preview Lab → · Contrast checker → · Palette generator →

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