#E0CD5B#E0CD5B

#E0CD5B is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.2% C 0.135 H 99.9°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#E0CD5B
RGBrgb(224, 205, 91)
HSLhsl(51, 68%, 62%)
HSVhsv(51, 59%, 88%)
CMYKcmyk(0%, 8.5%, 59.4%, 12.2%)
CIE-LABlab(81.98, -7.05, 57.85)
CIE-LCHlch(81.98, 58.27, 96.95°)
OKLaboklab(84.23% -0.0233 0.1333)
OKLCHoklch(84.23% 0.135 99.9)
XYZxyz(54.4622, 60.2675, 18.6595)
Luminance0.6027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CD5B #5B6EE0
analogous
#E08B5B #E0CD5B #B0E05B
triadic
#E0CD5B #5BE0CD #CD5BE0
tetradic
#E0CD5B #5BE08B #5B6EE0 #E05BB0
square
#E0CD5B #5BE08B #5B6EE0 #E05BB0
split-complementary
#E0CD5B #5BB0E0 #8B5BE0
monochromatic
#A28F1F #D5BD28 #E0CD5B #EADD8E #F3ECC2

Accessibility & contrast

On white

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

On black

13.05
#E0CD5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CD5B
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CD5B#FFFFFF#000000##000000
##E0CD5B1.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84F
Deuteranopia (green-blind)
#E4CF61
Tritanopia (blue-blind)
#F0C0B4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e0cd5b;
/* rgb */ color: rgb(224, 205, 91);
/* oklch */ color: oklch(84.2% 0.135 99.9);
Tailwind
colors: {
  custom: {
    50: '#eddc8d',
    500: '#e0cd5b',
    950: '#000000',
  },
}
SCSS
$custom: #e0cd5b;
$custom-light: #eddc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e0cd5b",
  "rgb": {
    "r": 224,
    "g": 205,
    "b": 91
  },
  "hsl": {
    "h": 51.429,
    "s": 68.205,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84228,
    "c": 0.13534,
    "h": 99.9
  },
  "luminance": 0.60265
}

Semantic roles & 50–950 ramp

primary
#E0CD5B
secondary
#3A4AA5
accent
#30D015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E0CD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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