#EECC5B#EECC5B

#EECC5B is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 85.3% C 0.136 H 92.5°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#EECC5B
RGBrgb(238, 204, 91)
HSLhsl(46, 81%, 65%)
HSVhsv(46, 62%, 93%)
CMYKcmyk(0%, 14.3%, 61.8%, 6.7%)
CIE-LABlab(82.98, -0.73, 59.30)
CIE-LCHlch(82.98, 59.30, 90.70°)
OKLaboklab(85.31% -0.006 0.1361)
OKLCHoklch(85.31% 0.136 92.5)
XYZxyz(58.7438, 62.1213, 18.7919)
Luminance0.6212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EECC5B #5B7DEE
analogous
#EE825B #EECC5B #C7EE5B
triadic
#EECC5B #5BEECC #CC5BEE
tetradic
#EECC5B #5BEE82 #5B7DEE #EE5BC7
square
#EECC5B #5BEE82 #5B7DEE #EE5BC7
split-complementary
#EECC5B #5BC7EE #825BEE
monochromatic
#BB9413 #E8BB24 #EECC5B #F4DD92 #F9EECA

Accessibility & contrast

On white

1.56
#EECC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#EECC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EECC5B
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EECC5B#FFFFFF#000000##000000
##EECC5B1.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94F
Deuteranopia (green-blind)
#E8D360
Tritanopia (blue-blind)
#FFBDB3
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #eecc5b;
/* rgb */ color: rgb(238, 204, 91);
/* oklch */ color: oklch(85.3% 0.136 92.5);
Tailwind
colors: {
  custom: {
    50: '#f7db8d',
    500: '#eecc5b',
    950: '#000000',
  },
}
SCSS
$custom: #eecc5b;
$custom-light: #f7db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#eecc5b",
  "rgb": {
    "r": 238,
    "g": 204,
    "b": 91
  },
  "hsl": {
    "h": 46.122,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8531,
    "c": 0.13621,
    "h": 92.5
  },
  "luminance": 0.62118
}

Semantic roles & 50–950 ramp

primary
#EECC5B
secondary
#3352BA
accent
#39DE08
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EECC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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