#E9CC5B#E9CC5B

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

Color values

HEX#E9CC5B
RGBrgb(233, 204, 91)
HSLhsl(48, 76%, 64%)
HSVhsv(48, 61%, 91%)
CMYKcmyk(0%, 12.4%, 60.9%, 8.6%)
CIE-LABlab(82.52, -2.80, 58.67)
CIE-LCHlch(82.52, 58.73, 92.73°)
OKLaboklab(84.84% -0.0117 0.1349)
OKLCHoklch(84.84% 0.135 94.9)
XYZxyz(57.0880, 61.2675, 18.7143)
Luminance0.6127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9CC5B #5B78E9
analogous
#E9855B #E9CC5B #BFE95B
triadic
#E9CC5B #5BE9CC #CC5BE9
tetradic
#E9CC5B #5BE985 #5B78E9 #E95BBF
square
#E9CC5B #5BE985 #5B78E9 #E95BBF
split-complementary
#E9CC5B #5BBFE9 #855BE9
monochromatic
#B29218 #E2BB25 #E9CC5B #F0DD91 #F7EEC7

Accessibility & contrast

On white

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

On black

13.25
#E9CC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9CC5B
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9CC5B#FFFFFF#000000##000000
##E9CC5B1.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e9cc5b;
/* rgb */ color: rgb(233, 204, 91);
/* oklch */ color: oklch(84.8% 0.135 94.9);
Tailwind
colors: {
  custom: {
    50: '#f3db8d',
    500: '#e9cc5b',
    950: '#000000',
  },
}
SCSS
$custom: #e9cc5b;
$custom-light: #f3db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e9cc5b",
  "rgb": {
    "r": 233,
    "g": 204,
    "b": 91
  },
  "hsl": {
    "h": 47.746,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84843,
    "c": 0.13536,
    "h": 94.9
  },
  "luminance": 0.61265
}

Semantic roles & 50–950 ramp

primary
#E9CC5B
secondary
#364FB2
accent
#37D90D
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E9CC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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