#E8CB5B#E8CB5B

#E8CB5B is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.5% C 0.134 H 94.8°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#E8CB5B
RGBrgb(232, 203, 91)
HSLhsl(48, 75%, 63%)
HSVhsv(48, 61%, 91%)
CMYKcmyk(0%, 12.5%, 60.8%, 9%)
CIE-LABlab(82.18, -2.70, 58.26)
CIE-LCHlch(82.18, 58.32, 92.66°)
OKLaboklab(84.55% -0.0113 0.134)
OKLCHoklch(84.55% 0.134 94.8)
XYZxyz(56.5254, 60.6258, 18.6201)
Luminance0.6062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CB5B #5B78E8
analogous
#E8845B #E8CB5B #BEE85B
triadic
#E8CB5B #5BE8CB #CB5BE8
tetradic
#E8CB5B #5BE884 #5B78E8 #E85BBE
square
#E8CB5B #5BE884 #5B78E8 #E85BBE
split-complementary
#E8CB5B #5BBEE8 #845BE8
monochromatic
#B09119 #E0BA25 #E8CB5B #F0DC91 #F7EDC6

Accessibility & contrast

On white

1.60
#E8CB5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.12
#E8CB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CB5B
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CB5B#FFFFFF#000000##000000
##E8CB5B1.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74F
Deuteranopia (green-blind)
#E5D060
Tritanopia (blue-blind)
#F9BDB3
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e8cb5b;
/* rgb */ color: rgb(232, 203, 91);
/* oklch */ color: oklch(84.5% 0.134 94.8);
Tailwind
colors: {
  custom: {
    50: '#f2da8d',
    500: '#e8cb5b',
    950: '#000000',
  },
}
SCSS
$custom: #e8cb5b;
$custom-light: #f2da8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cb5b",
  "rgb": {
    "r": 232,
    "g": 203,
    "b": 91
  },
  "hsl": {
    "h": 47.66,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84549,
    "c": 0.13449,
    "h": 94.8
  },
  "luminance": 0.60623
}

Semantic roles & 50–950 ramp

primary
#E8CB5B
secondary
#3750B1
accent
#37D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E8CB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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