#E9CC57#E9CC57

#E9CC57 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.8% C 0.139 H 95.3°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#E9CC57
RGBrgb(233, 204, 87)
HSLhsl(48, 77%, 63%)
HSVhsv(48, 63%, 91%)
CMYKcmyk(0%, 12.4%, 62.7%, 8.6%)
CIE-LABlab(82.49, -3.06, 60.39)
CIE-LCHlch(82.49, 60.46, 92.90°)
OKLaboklab(84.8% -0.0129 0.138)
OKLCHoklch(84.8% 0.139 95.3)
XYZxyz(56.9200, 61.2003, 17.8297)
Luminance0.6120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9CC57 #5774E9
analogous
#E98357 #E9CC57 #BDE957
triadic
#E9CC57 #57E9CC #CC57E9
tetradic
#E9CC57 #57E983 #5774E9 #E957BD
square
#E9CC57 #57E983 #5774E9 #E957BD
split-complementary
#E9CC57 #57BDE9 #8357E9
monochromatic
#AF9117 #E2BC21 #E9CC57 #F0DC8D #F7EDC3

Accessibility & contrast

On white

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

On black

13.24
#E9CC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9CC57
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9CC57#FFFFFF#000000##000000
##E9CC571.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e9cc57;
/* rgb */ color: rgb(233, 204, 87);
/* oklch */ color: oklch(84.8% 0.139 95.3);
Tailwind
colors: {
  custom: {
    50: '#f3db8b',
    500: '#e9cc57',
    950: '#000000',
  },
}
SCSS
$custom: #e9cc57;
$custom-light: #f3db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e9cc57",
  "rgb": {
    "r": 233,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 48.082,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84803,
    "c": 0.13857,
    "h": 95.3
  },
  "luminance": 0.61197
}

Semantic roles & 50–950 ramp

primary
#E9CC57
secondary
#354DAF
accent
#35D90C
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E9CC57

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

Preview Lab → · Contrast checker → · Palette generator →

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