#E8CC5B#E8CC5B

#E8CC5B is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.8% C 0.135 H 95.4°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#E8CC5B
RGBrgb(232, 204, 91)
HSLhsl(48, 75%, 63%)
HSVhsv(48, 61%, 91%)
CMYKcmyk(0%, 12.1%, 60.8%, 9%)
CIE-LABlab(82.43, -3.22, 58.54)
CIE-LCHlch(82.43, 58.63, 93.15°)
OKLaboklab(84.75% -0.0128 0.1346)
OKLCHoklch(84.75% 0.135 95.4)
XYZxyz(56.7624, 61.0996, 18.6990)
Luminance0.6110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8CC5B #5B77E8
analogous
#E8855B #E8CC5B #BDE85B
triadic
#E8CC5B #5BE8CC #CC5BE8
tetradic
#E8CC5B #5BE885 #5B77E8 #E85BBD
square
#E8CC5B #5BE885 #5B77E8 #E85BBD
split-complementary
#E8CC5B #5BBDE8 #855BE8
monochromatic
#B09219 #E0BB25 #E8CC5B #F0DD91 #F7EDC6

Accessibility & contrast

On white

1.59
#E8CC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#E8CC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8CC5B
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8CC5B#FFFFFF#000000##000000
##E8CC5B1.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84F
Deuteranopia (green-blind)
#E6D160
Tritanopia (blue-blind)
#F9BEB3
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e8cc5b;
/* rgb */ color: rgb(232, 204, 91);
/* oklch */ color: oklch(84.8% 0.135 95.4);
Tailwind
colors: {
  custom: {
    50: '#f2db8d',
    500: '#e8cc5b',
    950: '#000000',
  },
}
SCSS
$custom: #e8cc5b;
$custom-light: #f2db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8cc5b",
  "rgb": {
    "r": 232,
    "g": 204,
    "b": 91
  },
  "hsl": {
    "h": 48.085,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84751,
    "c": 0.13522,
    "h": 95.4
  },
  "luminance": 0.61097
}

Semantic roles & 50–950 ramp

primary
#E8CC5B
secondary
#374FB1
accent
#36D80E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E8CC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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