#E2DD56#E2DD56

#E2DD56 is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 87.7% C 0.154 H 107.2°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#E2DD56
RGBrgb(226, 221, 86)
HSLhsl(58, 71%, 61%)
HSVhsv(58, 62%, 89%)
CMYKcmyk(0%, 2.2%, 61.9%, 11.4%)
CIE-LABlab(86.28, -14.59, 64.72)
CIE-LCHlch(86.28, 66.35, 102.70°)
OKLaboklab(87.67% -0.0455 0.1472)
OKLCHoklch(87.67% 0.154 107.2)
XYZxyz(58.9022, 68.5554, 18.9321)
Luminance0.6855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DD56 #565BE2
analogous
#E29756 #E2DD56 #A1E256
triadic
#E2DD56 #56E2DD #DD56E2
tetradic
#E2DD56 #56E297 #565BE2 #E256A1
square
#E2DD56 #56E297 #565BE2 #E256A1
split-complementary
#E2DD56 #56A1E2 #9756E2
monochromatic
#A29D1C #D6D025 #E2DD56 #EBE88A #F4F2BE

Accessibility & contrast

On white

1.43
#E2DD56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#E2DD56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DD56
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DD56#FFFFFF#000000##000000
##E2DD561.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED545
Deuteranopia (green-blind)
#F1DA5E
Tritanopia (blue-blind)
#F1CFC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2dd56;
/* rgb */ color: rgb(226, 221, 86);
/* oklch */ color: oklch(87.7% 0.154 107.2);
Tailwind
colors: {
  custom: {
    50: '#eee78b',
    500: '#e2dd56',
    950: '#000000',
  },
}
SCSS
$custom: #e2dd56;
$custom-light: #eee78b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dd56",
  "rgb": {
    "r": 226,
    "g": 221,
    "b": 86
  },
  "hsl": {
    "h": 57.857,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87672,
    "c": 0.15406,
    "h": 107.2
  },
  "luminance": 0.68554
}

Semantic roles & 50–950 ramp

primary
#E2DD56
secondary
#383BA5
accent
#1AD313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2DD56

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

Preview Lab → · Contrast checker → · Palette generator →

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