#E0DC52#E0DC52

#E0DC52 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.3% C 0.156 H 107.6°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#E0DC52
RGBrgb(224, 220, 82)
HSLhsl(58, 70%, 60%)
HSVhsv(58, 63%, 88%)
CMYKcmyk(0%, 1.8%, 63.4%, 12.2%)
CIE-LABlab(85.83, -15.16, 65.82)
CIE-LCHlch(85.83, 67.54, 102.97°)
OKLaboklab(87.26% -0.0474 0.149)
OKLCHoklch(87.26% 0.156 107.6)
XYZxyz(57.8586, 67.6447, 17.9900)
Luminance0.6764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0DC52 #5256E0
analogous
#E09552 #E0DC52 #9DE052
triadic
#E0DC52 #52E0DC #DC52E0
tetradic
#E0DC52 #52E095 #5256E0 #E0529D
square
#E0DC52 #52E095 #5256E0 #E0529D
split-complementary
#E0DC52 #529DE0 #9552E0
monochromatic
#9C981C #D0CB25 #E0DC52 #E9E786 #F3F1BA

Accessibility & contrast

On white

1.45
#E0DC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#E0DC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0DC52
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0DC52#FFFFFF#000000##000000
##E0DC521.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD440
Deuteranopia (green-blind)
#F0D95B
Tritanopia (blue-blind)
#EFCEBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e0dc52;
/* rgb */ color: rgb(224, 220, 82);
/* oklch */ color: oklch(87.3% 0.156 107.6);
Tailwind
colors: {
  custom: {
    50: '#ede689',
    500: '#e0dc52',
    950: '#000000',
  },
}
SCSS
$custom: #e0dc52;
$custom-light: #ede689;
$custom-dark: #000000;
JSON
{
  "hex": "#e0dc52",
  "rgb": {
    "r": 224,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 58.31,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.87261,
    "c": 0.15635,
    "h": 107.6
  },
  "luminance": 0.67643
}

Semantic roles & 50–950 ramp

primary
#E0DC52
secondary
#373A9F
accent
#40EC3B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E0DC52

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

Preview Lab → · Contrast checker → · Palette generator →

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