#E0CD51#E0CD51

#E0CD51 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.1% C 0.143 H 100.6°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#E0CD51
RGBrgb(224, 205, 81)
HSLhsl(52, 70%, 60%)
HSVhsv(52, 64%, 88%)
CMYKcmyk(0%, 8.5%, 63.8%, 12.2%)
CIE-LABlab(81.90, -7.70, 62.08)
CIE-LCHlch(81.90, 62.55, 97.07°)
OKLaboklab(84.13% -0.0263 0.1409)
OKLCHoklch(84.13% 0.143 100.6)
XYZxyz(54.0592, 60.1063, 16.5371)
Luminance0.6010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CD51 #5164E0
analogous
#E08651 #E0CD51 #ACE051
triadic
#E0CD51 #51E0CD #CD51E0
tetradic
#E0CD51 #51E086 #5164E0 #E051AC
square
#E0CD51 #51E086 #5164E0 #E051AC
split-complementary
#E0CD51 #51ACE0 #8651E0
monochromatic
#9B8A1C #CFB825 #E0CD51 #E9DC85 #F3EBB9

Accessibility & contrast

On white

1.61
#E0CD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#E0CD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CD51
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CD51#FFFFFF#000000##000000
##E0CD511.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC742
Deuteranopia (green-blind)
#E5CF58
Tritanopia (blue-blind)
#F0BFB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e0cd51;
/* rgb */ color: rgb(224, 205, 81);
/* oklch */ color: oklch(84.1% 0.143 100.6);
Tailwind
colors: {
  custom: {
    50: '#eddb87',
    500: '#e0cd51',
    950: '#000000',
  },
}
SCSS
$custom: #e0cd51;
$custom-light: #eddb87;
$custom-dark: #000000;
JSON
{
  "hex": "#e0cd51",
  "rgb": {
    "r": 224,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 52.028,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8413,
    "c": 0.14337,
    "h": 100.6
  },
  "luminance": 0.60104
}

Semantic roles & 50–950 ramp

primary
#E0CD51
secondary
#37449F
accent
#53ED3B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E0CD51

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

Preview Lab → · Contrast checker → · Palette generator →

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