#E0D052#E0D052

#E0D052 is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.8% C 0.145 H 102.1°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#E0D052
RGBrgb(224, 208, 82)
HSLhsl(53, 70%, 60%)
HSVhsv(53, 63%, 88%)
CMYKcmyk(0%, 7.1%, 63.4%, 12.2%)
CIE-LABlab(82.68, -9.16, 62.50)
CIE-LCHlch(82.68, 63.17, 98.34°)
OKLaboklab(84.76% -0.0303 0.142)
OKLCHoklch(84.76% 0.145 102.1)
XYZxyz(54.8215, 61.5704, 16.9776)
Luminance0.6157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0D052 #5262E0
analogous
#E08952 #E0D052 #A9E052
triadic
#E0D052 #52E0D0 #D052E0
tetradic
#E0D052 #52E089 #5262E0 #E052A9
square
#E0D052 #52E089 #5262E0 #E052A9
split-complementary
#E0D052 #52A9E0 #8952E0
monochromatic
#9C8D1C #D0BC25 #E0D052 #E9DE86 #F3ECBA

Accessibility & contrast

On white

1.58
#E0D052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#E0D052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0D052
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0D052#FFFFFF#000000##000000
##E0D0521.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA43
Deuteranopia (green-blind)
#E7D159
Tritanopia (blue-blind)
#F0C2B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e0d052;
/* rgb */ color: rgb(224, 208, 82);
/* oklch */ color: oklch(84.8% 0.145 102.1);
Tailwind
colors: {
  custom: {
    50: '#edde88',
    500: '#e0d052',
    950: '#000000',
  },
}
SCSS
$custom: #e0d052;
$custom-light: #edde88;
$custom-dark: #000000;
JSON
{
  "hex": "#e0d052",
  "rgb": {
    "r": 224,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 53.239,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.84759,
    "c": 0.14518,
    "h": 102.1
  },
  "luminance": 0.61568
}

Semantic roles & 50–950 ramp

primary
#E0D052
secondary
#37439F
accent
#4FEC3B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E0D052

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

Preview Lab → · Contrast checker → · Palette generator →

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