#EECC5A#EECC5A

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

Color values

HEX#EECC5A
RGBrgb(238, 204, 90)
HSLhsl(46, 81%, 64%)
HSVhsv(46, 62%, 93%)
CMYKcmyk(0%, 14.3%, 62.2%, 6.7%)
CIE-LABlab(82.97, -0.79, 59.73)
CIE-LCHlch(82.97, 59.74, 90.76°)
OKLaboklab(85.3% -0.0063 0.1369)
OKLCHoklch(85.3% 0.137 92.6)
XYZxyz(58.7010, 62.1042, 18.5662)
Luminance0.6210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EECC5A #5A7CEE
analogous
#EE825A #EECC5A #C6EE5A
triadic
#EECC5A #5AEECC #CC5AEE
tetradic
#EECC5A #5AEE82 #5A7CEE #EE5AC6
square
#EECC5A #5AEE82 #5A7CEE #EE5AC6
split-complementary
#EECC5A #5AC6EE #825AEE
monochromatic
#BA9413 #E8BB23 #EECC5A #F4DD91 #F9EEC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EECC5A#FFFFFF#000000##000000
##EECC5A1.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)
#E0C94D
Deuteranopia (green-blind)
#E8D35F
Tritanopia (blue-blind)
#FFBDB3
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #eecc5a;
/* rgb */ color: rgb(238, 204, 90);
/* oklch */ color: oklch(85.3% 0.137 92.6);
Tailwind
colors: {
  custom: {
    50: '#f7db8d',
    500: '#eecc5a',
    950: '#000000',
  },
}
SCSS
$custom: #eecc5a;
$custom-light: #f7db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#eecc5a",
  "rgb": {
    "r": 238,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 46.216,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.853,
    "c": 0.137,
    "h": 92.6
  },
  "luminance": 0.62101
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EECC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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