#EECC5C#EECC5C

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

Color values

HEX#EECC5C
RGBrgb(238, 204, 92)
HSLhsl(46, 81%, 65%)
HSVhsv(46, 61%, 93%)
CMYKcmyk(0%, 14.3%, 61.3%, 6.7%)
CIE-LABlab(82.99, -0.66, 58.87)
CIE-LCHlch(82.99, 58.87, 90.64°)
OKLaboklab(85.32% -0.0057 0.1353)
OKLCHoklch(85.32% 0.135 92.4)
XYZxyz(58.7872, 62.1387, 19.0206)
Luminance0.6214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EECC5C #5C7EEE
analogous
#EE835C #EECC5C #C7EE5C
triadic
#EECC5C #5CEECC #CC5CEE
tetradic
#EECC5C #5CEE83 #5C7EEE #EE5CC7
square
#EECC5C #5CEE83 #5C7EEE #EE5CC7
split-complementary
#EECC5C #5CC7EE #835CEE
monochromatic
#BC9514 #E8BB25 #EECC5C #F4DD93 #FAEFCB

Accessibility & contrast

On white

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

On black

13.43
#EECC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EECC5C
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EECC5C#FFFFFF#000000##000000
##EECC5C1.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C950
Deuteranopia (green-blind)
#E8D361
Tritanopia (blue-blind)
#FFBDB4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #eecc5c;
/* rgb */ color: rgb(238, 204, 92);
/* oklch */ color: oklch(85.3% 0.135 92.4);
Tailwind
colors: {
  custom: {
    50: '#f7db8e',
    500: '#eecc5c',
    950: '#000000',
  },
}
SCSS
$custom: #eecc5c;
$custom-light: #f7db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#eecc5c",
  "rgb": {
    "r": 238,
    "g": 204,
    "b": 92
  },
  "hsl": {
    "h": 46.027,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.8532,
    "c": 0.13541,
    "h": 92.4
  },
  "luminance": 0.62136
}

Semantic roles & 50–950 ramp

primary
#EECC5C
secondary
#3353BB
accent
#3ADD08
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F

Preview Lab

Preview with #EECC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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