#E0D252#E0D252

#E0D252 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.2% C 0.147 H 103.1°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#E0D252
RGBrgb(224, 210, 82)
HSLhsl(54, 70%, 60%)
HSVhsv(54, 63%, 88%)
CMYKcmyk(0%, 6.3%, 63.4%, 12.2%)
CIE-LABlab(83.21, -10.17, 63.05)
CIE-LCHlch(83.21, 63.87, 99.16°)
OKLaboklab(85.17% -0.0332 0.1432)
OKLCHoklch(85.17% 0.147 103.1)
XYZxyz(55.3122, 62.5518, 17.1411)
Luminance0.6255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0D252 #5260E0
analogous
#E08B52 #E0D252 #A7E052
triadic
#E0D252 #52E0D2 #D252E0
tetradic
#E0D252 #52E08B #5260E0 #E052A7
square
#E0D252 #52E08B #5260E0 #E052A7
split-complementary
#E0D252 #52A7E0 #8B52E0
monochromatic
#9C8F1C #D0BF25 #E0D252 #E9E086 #F3EDBA

Accessibility & contrast

On white

1.55
#E0D252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#E0D252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0D252
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0D252#FFFFFF#000000##000000
##E0D2521.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB42
Deuteranopia (green-blind)
#E8D259
Tritanopia (blue-blind)
#F0C4B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e0d252;
/* rgb */ color: rgb(224, 210, 82);
/* oklch */ color: oklch(85.2% 0.147 103.1);
Tailwind
colors: {
  custom: {
    50: '#eddf88',
    500: '#e0d252',
    950: '#000000',
  },
}
SCSS
$custom: #e0d252;
$custom-light: #eddf88;
$custom-dark: #000000;
JSON
{
  "hex": "#e0d252",
  "rgb": {
    "r": 224,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 54.085,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.85173,
    "c": 0.14696,
    "h": 103.1
  },
  "luminance": 0.6255
}

Semantic roles & 50–950 ramp

primary
#E0D252
secondary
#37419F
accent
#4DEC3B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E0D252

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

Preview Lab → · Contrast checker → · Palette generator →

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