#E2DC50#E2DC50

#E2DC50 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.4% C 0.158 H 106.9°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#E2DC50
RGBrgb(226, 220, 80)
HSLhsl(58, 72%, 60%)
HSVhsv(58, 65%, 89%)
CMYKcmyk(0%, 2.7%, 64.6%, 11.4%)
CIE-LABlab(85.97, -14.46, 66.82)
CIE-LCHlch(85.97, 68.37, 102.21°)
OKLaboklab(87.41% -0.0457 0.1508)
OKLCHoklch(87.41% 0.158 106.9)
XYZxyz(58.4073, 67.9363, 17.6242)
Luminance0.6793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DC50 #5056E2
analogous
#E29350 #E2DC50 #9FE250
triadic
#E2DC50 #50E2DC #DC50E2
tetradic
#E2DC50 #50E293 #5056E2 #E2509F
square
#E2DC50 #50E293 #5056E2 #E2509F
split-complementary
#E2DC50 #509FE2 #9350E2
monochromatic
#9E981A #D2CB23 #E2DC50 #EBE684 #F3F1B9

Accessibility & contrast

On white

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

On black

14.59
#E2DC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DC50
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DC50#FFFFFF#000000##000000
##E2DC501.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED43D
Deuteranopia (green-blind)
#F1DA59
Tritanopia (blue-blind)
#F2CEBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e2dc50;
/* rgb */ color: rgb(226, 220, 80);
/* oklch */ color: oklch(87.4% 0.158 106.9);
Tailwind
colors: {
  custom: {
    50: '#eee688',
    500: '#e2dc50',
    950: '#000000',
  },
}
SCSS
$custom: #e2dc50;
$custom-light: #eee688;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dc50",
  "rgb": {
    "r": 226,
    "g": 220,
    "b": 80
  },
  "hsl": {
    "h": 57.534,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.87411,
    "c": 0.15754,
    "h": 106.9
  },
  "luminance": 0.67934
}

Semantic roles & 50–950 ramp

primary
#E2DC50
secondary
#353AA1
accent
#41EE39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2DC50

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

Preview Lab → · Contrast checker → · Palette generator →

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