#E9CC5C#E9CC5C

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

Color values

HEX#E9CC5C
RGBrgb(233, 204, 92)
HSLhsl(48, 76%, 64%)
HSVhsv(48, 61%, 91%)
CMYKcmyk(0%, 12.4%, 60.5%, 8.6%)
CIE-LABlab(82.53, -2.73, 58.23)
CIE-LCHlch(82.53, 58.30, 92.69°)
OKLaboklab(84.85% -0.0114 0.1341)
OKLCHoklch(84.85% 0.135 94.8)
XYZxyz(57.1314, 61.2849, 18.9430)
Luminance0.6128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9CC5C #5C79E9
analogous
#E9855C #E9CC5C #BFE95C
triadic
#E9CC5C #5CE9CC #CC5CE9
tetradic
#E9CC5C #5CE985 #5C79E9 #E95CBF
square
#E9CC5C #5CE985 #5C79E9 #E95CBF
split-complementary
#E9CC5C #5CBFE9 #855CE9
monochromatic
#B39318 #E2BB26 #E9CC5C #F0DD92 #F8EEC8

Accessibility & contrast

On white

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

On black

13.26
#E9CC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9CC5C
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9CC5C#FFFFFF#000000##000000
##E9CC5C1.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC850
Deuteranopia (green-blind)
#E6D161
Tritanopia (blue-blind)
#FABEB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e9cc5c;
/* rgb */ color: rgb(233, 204, 92);
/* oklch */ color: oklch(84.9% 0.135 94.8);
Tailwind
colors: {
  custom: {
    50: '#f3db8e',
    500: '#e9cc5c',
    950: '#000000',
  },
}
SCSS
$custom: #e9cc5c;
$custom-light: #f3db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e9cc5c",
  "rgb": {
    "r": 233,
    "g": 204,
    "b": 92
  },
  "hsl": {
    "h": 47.66,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.84853,
    "c": 0.13454,
    "h": 94.8
  },
  "luminance": 0.61282
}

Semantic roles & 50–950 ramp

primary
#E9CC5C
secondary
#3650B3
accent
#37D80D
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E9CC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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