#E4DC52#E4DC52

#E4DC52 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.6% C 0.156 H 106.0°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#E4DC52
RGBrgb(228, 220, 82)
HSLhsl(57, 73%, 61%)
HSVhsv(57, 64%, 89%)
CMYKcmyk(0%, 3.5%, 64%, 10.6%)
CIE-LABlab(86.15, -13.52, 66.26)
CIE-LCHlch(86.15, 67.62, 101.53°)
OKLaboklab(87.6% -0.043 0.1498)
OKLCHoklch(87.6% 0.156 106)
XYZxyz(59.1132, 68.2916, 18.0488)
Luminance0.6829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC52 #525AE4
analogous
#E49352 #E4DC52 #A3E452
triadic
#E4DC52 #52E4DC #DC52E4
tetradic
#E4DC52 #52E493 #525AE4 #E452A3
square
#E4DC52 #52E493 #525AE4 #E452A3
split-complementary
#E4DC52 #52A3E4 #9352E4
monochromatic
#A29B19 #D7CD22 #E4DC52 #ECE787 #F5F1BC

Accessibility & contrast

On white

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

On black

14.66
#E4DC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DC52
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DC52#FFFFFF#000000##000000
##E4DC521.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED440
Deuteranopia (green-blind)
#F1DA5A
Tritanopia (blue-blind)
#F4CEC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e4dc52;
/* rgb */ color: rgb(228, 220, 82);
/* oklch */ color: oklch(87.6% 0.156 106.0);
Tailwind
colors: {
  custom: {
    50: '#f0e689',
    500: '#e4dc52',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc52;
$custom-light: #f0e689;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc52",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 56.712,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87597,
    "c": 0.15586,
    "h": 106
  },
  "luminance": 0.6829
}

Semantic roles & 50–950 ramp

primary
#E4DC52
secondary
#353BA5
accent
#1BD510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4DC52

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

Preview Lab → · Contrast checker → · Palette generator →

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