#E8CD5A#E8CD5A

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

Color values

HEX#E8CD5A
RGBrgb(232, 205, 90)
HSLhsl(49, 76%, 63%)
HSVhsv(49, 61%, 91%)
CMYKcmyk(0%, 11.6%, 61.2%, 9%)
CIE-LABlab(82.68, -3.80, 59.26)
CIE-LCHlch(82.68, 59.38, 93.66°)
OKLaboklab(84.94% -0.0146 0.136)
OKLCHoklch(84.94% 0.137 96.1)
XYZxyz(56.9579, 61.5593, 18.5528)
Luminance0.6156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CD5A #5A75E8
analogous
#E8865A #E8CD5A #BCE85A
triadic
#E8CD5A #5AE8CD #CD5AE8
tetradic
#E8CD5A #5AE886 #5A75E8 #E85ABC
square
#E8CD5A #5AE886 #5A75E8 #E85ABC
split-complementary
#E8CD5A #5ABCE8 #865AE8
monochromatic
#AF9318 #E1BD24 #E8CD5A #EFDD90 #F7EEC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8CD5A#FFFFFF#000000##000000
##E8CD5A1.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)
#E0C94D
Deuteranopia (green-blind)
#E7D260
Tritanopia (blue-blind)
#F9BFB4
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e8cd5a;
/* rgb */ color: rgb(232, 205, 90);
/* oklch */ color: oklch(84.9% 0.137 96.1);
Tailwind
colors: {
  custom: {
    50: '#f2db8d',
    500: '#e8cd5a',
    950: '#000000',
  },
}
SCSS
$custom: #e8cd5a;
$custom-light: #f2db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cd5a",
  "rgb": {
    "r": 232,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 48.592,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84942,
    "c": 0.13679,
    "h": 96.1
  },
  "luminance": 0.61557
}

Semantic roles & 50–950 ramp

primary
#E8CD5A
secondary
#364DB0
accent
#34D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8CD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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