#E2DD57#E2DD57

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

Color values

HEX#E2DD57
RGBrgb(226, 221, 87)
HSLhsl(58, 71%, 61%)
HSVhsv(58, 62%, 89%)
CMYKcmyk(0%, 2.2%, 61.5%, 11.4%)
CIE-LABlab(86.29, -14.53, 64.32)
CIE-LCHlch(86.29, 65.94, 102.73°)
OKLaboklab(87.68% -0.0452 0.1465)
OKLCHoklch(87.68% 0.153 107.1)
XYZxyz(58.9427, 68.5716, 19.1457)
Luminance0.6857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DD57 #575CE2
analogous
#E29857 #E2DD57 #A2E257
triadic
#E2DD57 #57E2DD #DD57E2
tetradic
#E2DD57 #57E298 #575CE2 #E257A2
square
#E2DD57 #57E298 #575CE2 #E257A2
split-complementary
#E2DD57 #57A2E2 #9857E2
monochromatic
#A39E1C #D7D025 #E2DD57 #EBE88B #F4F2BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2DD57#FFFFFF#000000##000000
##E2DD571.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)
#EED547
Deuteranopia (green-blind)
#F1DA5F
Tritanopia (blue-blind)
#F1D0C1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2dd57;
/* rgb */ color: rgb(226, 221, 87);
/* oklch */ color: oklch(87.7% 0.153 107.1);
Tailwind
colors: {
  custom: {
    50: '#eee78c',
    500: '#e2dd57',
    950: '#000000',
  },
}
SCSS
$custom: #e2dd57;
$custom-light: #eee78c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dd57",
  "rgb": {
    "r": 226,
    "g": 221,
    "b": 87
  },
  "hsl": {
    "h": 57.842,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.87681,
    "c": 0.1533,
    "h": 107.1
  },
  "luminance": 0.6857
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2DD57

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

Preview Lab → · Contrast checker → · Palette generator →

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