#E0D152#E0D152

#E0D152 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 85.0% C 0.146 H 102.6°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#E0D152
RGBrgb(224, 209, 82)
HSLhsl(54, 70%, 60%)
HSVhsv(54, 63%, 88%)
CMYKcmyk(0%, 6.7%, 63.4%, 12.2%)
CIE-LABlab(82.95, -9.66, 62.78)
CIE-LCHlch(82.95, 63.52, 98.75°)
OKLaboklab(84.97% -0.0318 0.1426)
OKLCHoklch(84.97% 0.146 102.6)
XYZxyz(55.0661, 62.0596, 17.0591)
Luminance0.6206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0D152 #5261E0
analogous
#E08A52 #E0D152 #A8E052
triadic
#E0D152 #52E0D1 #D152E0
tetradic
#E0D152 #52E08A #5261E0 #E052A8
square
#E0D152 #52E08A #5261E0 #E052A8
split-complementary
#E0D152 #52A8E0 #8A52E0
monochromatic
#9C8E1C #D0BE25 #E0D152 #E9DF86 #F3EDBA

Accessibility & contrast

On white

1.57
#E0D152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.41
#E0D152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0D152
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0D152#FFFFFF#000000##000000
##E0D1521.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB42
Deuteranopia (green-blind)
#E8D259
Tritanopia (blue-blind)
#F0C3B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e0d152;
/* rgb */ color: rgb(224, 209, 82);
/* oklch */ color: oklch(85.0% 0.146 102.6);
Tailwind
colors: {
  custom: {
    50: '#edde88',
    500: '#e0d152',
    950: '#000000',
  },
}
SCSS
$custom: #e0d152;
$custom-light: #edde88;
$custom-dark: #000000;
JSON
{
  "hex": "#e0d152",
  "rgb": {
    "r": 224,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 53.662,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.84966,
    "c": 0.14606,
    "h": 102.6
  },
  "luminance": 0.62057
}

Semantic roles & 50–950 ramp

primary
#E0D152
secondary
#37429F
accent
#4EEC3B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E0D152

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

Preview Lab → · Contrast checker → · Palette generator →

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