#E8CD5B#E8CD5B

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

Color values

HEX#E8CD5B
RGBrgb(232, 205, 91)
HSLhsl(49, 75%, 63%)
HSVhsv(49, 61%, 91%)
CMYKcmyk(0%, 11.6%, 60.8%, 9%)
CIE-LABlab(82.69, -3.73, 58.83)
CIE-LCHlch(82.69, 58.94, 93.63°)
OKLaboklab(84.95% -0.0143 0.1352)
OKLCHoklch(84.95% 0.136 96)
XYZxyz(57.0008, 61.5765, 18.7785)
Luminance0.6157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CD5B #5B76E8
analogous
#E8865B #E8CD5B #BCE85B
triadic
#E8CD5B #5BE8CD #CD5BE8
tetradic
#E8CD5B #5BE886 #5B76E8 #E85BBC
square
#E8CD5B #5BE886 #5B76E8 #E85BBC
split-complementary
#E8CD5B #5BBCE8 #865BE8
monochromatic
#B09319 #E0BD25 #E8CD5B #F0DD91 #F7EEC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #e8cd5b;
/* rgb */ color: rgb(232, 205, 91);
/* oklch */ color: oklch(85.0% 0.136 96.0);
Tailwind
colors: {
  custom: {
    50: '#f2dc8d',
    500: '#e8cd5b',
    950: '#000000',
  },
}
SCSS
$custom: #e8cd5b;
$custom-light: #f2dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cd5b",
  "rgb": {
    "r": 232,
    "g": 205,
    "b": 91
  },
  "hsl": {
    "h": 48.511,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84953,
    "c": 0.13597,
    "h": 96
  },
  "luminance": 0.61574
}

Semantic roles & 50–950 ramp

primary
#E8CD5B
secondary
#374EB1
accent
#35D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8CD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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