#E2DC56#E2DC56

#E2DC56 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.5% C 0.153 H 106.7°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#E2DC56
RGBrgb(226, 220, 86)
HSLhsl(57, 71%, 61%)
HSVhsv(57, 62%, 89%)
CMYKcmyk(0%, 2.7%, 61.9%, 11.4%)
CIE-LABlab(86.02, -14.10, 64.44)
CIE-LCHlch(86.02, 65.97, 102.34°)
OKLaboklab(87.46% -0.0441 0.1466)
OKLCHoklch(87.46% 0.153 106.7)
XYZxyz(58.6389, 68.0289, 18.8443)
Luminance0.6803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DC56 #565CE2
analogous
#E29656 #E2DC56 #A2E256
triadic
#E2DC56 #56E2DC #DC56E2
tetradic
#E2DC56 #56E296 #565CE2 #E256A2
square
#E2DC56 #56E296 #565CE2 #E256A2
split-complementary
#E2DC56 #56A2E2 #9656E2
monochromatic
#A29C1C #D6CE25 #E2DC56 #EBE78A #F4F2BE

Accessibility & contrast

On white

1.44
#E2DC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.61
#E2DC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DC56
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DC56#FFFFFF#000000##000000
##E2DC561.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD446
Deuteranopia (green-blind)
#F0DA5E
Tritanopia (blue-blind)
#F1CEC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e2dc56;
/* rgb */ color: rgb(226, 220, 86);
/* oklch */ color: oklch(87.5% 0.153 106.7);
Tailwind
colors: {
  custom: {
    50: '#eee68b',
    500: '#e2dc56',
    950: '#000000',
  },
}
SCSS
$custom: #e2dc56;
$custom-light: #eee68b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dc56",
  "rgb": {
    "r": 226,
    "g": 220,
    "b": 86
  },
  "hsl": {
    "h": 57.429,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87463,
    "c": 0.15309,
    "h": 106.7
  },
  "luminance": 0.68027
}

Semantic roles & 50–950 ramp

primary
#E2DC56
secondary
#383CA5
accent
#1BD313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2DC56

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

Preview Lab → · Contrast checker → · Palette generator →

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