#EEC959#EEC959

#EEC959 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.7% C 0.136 H 90.9°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#EEC959
RGBrgb(238, 201, 89)
HSLhsl(45, 81%, 64%)
HSVhsv(45, 63%, 93%)
CMYKcmyk(0%, 15.5%, 62.6%, 6.7%)
CIE-LABlab(82.20, 0.69, 59.33)
CIE-LCHlch(82.20, 59.34, 89.33°)
OKLaboklab(84.69% -0.0021 0.1359)
OKLCHoklch(84.69% 0.136 90.9)
XYZxyz(57.9525, 60.6749, 18.1082)
Luminance0.6067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEC959 #597EEE
analogous
#EE7F59 #EEC959 #C8EE59
triadic
#EEC959 #59EEC9 #C959EE
tetradic
#EEC959 #59EE7F #597EEE #EE59C8
square
#EEC959 #59EE7F #597EEE #EE59C8
split-complementary
#EEC959 #59C8EE #7F59EE
monochromatic
#BA9013 #E8B721 #EEC959 #F4DB91 #F9EDC8

Accessibility & contrast

On white

1.60
#EEC959 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.13
#EEC959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEC959
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEC959#FFFFFF#000000##000000
##EEC9591.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64D
Deuteranopia (green-blind)
#E6D15E
Tritanopia (blue-blind)
#FFBAB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #eec959;
/* rgb */ color: rgb(238, 201, 89);
/* oklch */ color: oklch(84.7% 0.136 90.9);
Tailwind
colors: {
  custom: {
    50: '#f7d98c',
    500: '#eec959',
    950: '#000000',
  },
}
SCSS
$custom: #eec959;
$custom-light: #f7d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#eec959",
  "rgb": {
    "r": 238,
    "g": 201,
    "b": 89
  },
  "hsl": {
    "h": 45.101,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.84693,
    "c": 0.13589,
    "h": 90.9
  },
  "luminance": 0.60672
}

Semantic roles & 50–950 ramp

primary
#EEC959
secondary
#3354B9
accent
#3DDE08
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EEC959

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

Preview Lab → · Contrast checker → · Palette generator →

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