#EECC4C#EECC4C

#EECC4C is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 85.2% C 0.147 H 94.0°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#EECC4C
RGBrgb(238, 204, 76)
HSLhsl(47, 83%, 62%)
HSVhsv(47, 68%, 93%)
CMYKcmyk(0%, 14.3%, 68.1%, 6.7%)
CIE-LABlab(82.85, -1.61, 65.52)
CIE-LCHlch(82.85, 65.54, 91.40°)
OKLaboklab(85.17% -0.0103 0.147)
OKLCHoklch(85.17% 0.147 94)
XYZxyz(58.1602, 61.8878, 15.7182)
Luminance0.6189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EECC4C #4C6EEE
analogous
#EE7B4C #EECC4C #BFEE4C
triadic
#EECC4C #4CEECC #CC4CEE
tetradic
#EECC4C #4CEE7B #4C6EEE #EE4CBF
square
#EECC4C #4CEE7B #4C6EEE #EE4CBF
split-complementary
#EECC4C #4CBFEE #7B4CEE
monochromatic
#AF8E11 #E7BB16 #EECC4C #F3DC84 #F9ECBC

Accessibility & contrast

On white

1.57
#EECC4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.38
#EECC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EECC4C
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EECC4C#FFFFFF#000000##000000
##EECC4C1.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C83B
Deuteranopia (green-blind)
#E9D353
Tritanopia (blue-blind)
#FFBCB2
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #eecc4c;
/* rgb */ color: rgb(238, 204, 76);
/* oklch */ color: oklch(85.2% 0.147 94.0);
Tailwind
colors: {
  custom: {
    50: '#f7db85',
    500: '#eecc4c',
    950: '#000000',
  },
}
SCSS
$custom: #eecc4c;
$custom-light: #f7db85;
$custom-dark: #000000;
JSON
{
  "hex": "#eecc4c",
  "rgb": {
    "r": 238,
    "g": 204,
    "b": 76
  },
  "hsl": {
    "h": 47.407,
    "s": 82.653,
    "l": 61.569
  },
  "oklch": {
    "l": 0.85172,
    "c": 0.14737,
    "h": 94
  },
  "luminance": 0.61885
}

Semantic roles & 50–950 ramp

primary
#EECC4C
secondary
#2F4AAF
accent
#34DF06
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #EECC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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