#E8CB5A#E8CB5A

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

Color values

HEX#E8CB5A
RGBrgb(232, 203, 90)
HSLhsl(48, 76%, 63%)
HSVhsv(48, 61%, 91%)
CMYKcmyk(0%, 12.5%, 61.2%, 9%)
CIE-LABlab(82.17, -2.77, 58.69)
CIE-LCHlch(82.17, 58.76, 92.70°)
OKLaboklab(84.54% -0.0116 0.1348)
OKLCHoklch(84.54% 0.135 94.9)
XYZxyz(56.4826, 60.6086, 18.3944)
Luminance0.6061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CB5A #5A77E8
analogous
#E8845A #E8CB5A #BEE85A
triadic
#E8CB5A #5AE8CB #CB5AE8
tetradic
#E8CB5A #5AE884 #5A77E8 #E85ABE
square
#E8CB5A #5AE884 #5A77E8 #E85ABE
split-complementary
#E8CB5A #5ABEE8 #845AE8
monochromatic
#AF9018 #E1BA24 #E8CB5A #EFDC90 #F7EDC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8CB5A#FFFFFF#000000##000000
##E8CB5A1.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)
#DEC74E
Deuteranopia (green-blind)
#E5D05F
Tritanopia (blue-blind)
#F9BDB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e8cb5a;
/* rgb */ color: rgb(232, 203, 90);
/* oklch */ color: oklch(84.5% 0.135 94.9);
Tailwind
colors: {
  custom: {
    50: '#f2da8d',
    500: '#e8cb5a',
    950: '#000000',
  },
}
SCSS
$custom: #e8cb5a;
$custom-light: #f2da8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cb5a",
  "rgb": {
    "r": 232,
    "g": 203,
    "b": 90
  },
  "hsl": {
    "h": 47.746,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84539,
    "c": 0.1353,
    "h": 94.9
  },
  "luminance": 0.60606
}

Semantic roles & 50–950 ramp

primary
#E8CB5A
secondary
#364FB0
accent
#37D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E8CB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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