#EEEC5A#EEEC5A

#EEEC5A is a very light, vivid yellow. Relative luminance 0.789; OKLCH L 91.8% C 0.164 H 108.5°. Best body text is #000000 at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#EEEC5A
RGBrgb(238, 236, 90)
HSLhsl(59, 81%, 64%)
HSVhsv(59, 62%, 93%)
CMYKcmyk(0%, 0.8%, 62.2%, 6.7%)
CIE-LABlab(91.19, -16.82, 68.59)
CIE-LCHlch(91.19, 70.63, 103.78°)
OKLaboklab(91.83% -0.052 0.1557)
OKLCHoklch(91.83% 0.164 108.5)
XYZxyz(67.1030, 78.9082, 21.3669)
Luminance0.7891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEEC5A #5A5CEE
analogous
#EEA25A #EEEC5A #A6EE5A
triadic
#EEEC5A #5AEEEC #EC5AEE
tetradic
#EEEC5A #5AEEA2 #5A5CEE #EE5AA6
square
#EEEC5A #5AEEA2 #5A5CEE #EE5AA6
split-complementary
#EEEC5A #5AA6EE #A25AEE
monochromatic
#BAB813 #E8E623 #EEEC5A #F4F291 #F9F9C9

Accessibility & contrast

On white

1.25
#EEEC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.78
#EEEC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEEC5A
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEEC5A#FFFFFF#000000##000000
##EEEC5A1.001.2516.7816.78
#FFFFFF1.251.0021.0021.00
#00000016.7821.001.001.00
##00000016.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE347
Deuteranopia (green-blind)
#FFE863
Tritanopia (blue-blind)
#FEDECE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #eeec5a;
/* rgb */ color: rgb(238, 236, 90);
/* oklch */ color: oklch(91.8% 0.164 108.5);
Tailwind
colors: {
  custom: {
    50: '#f7f18f',
    500: '#eeec5a',
    950: '#000000',
  },
}
SCSS
$custom: #eeec5a;
$custom-light: #f7f18f;
$custom-dark: #000000;
JSON
{
  "hex": "#eeec5a",
  "rgb": {
    "r": 238,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 59.189,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.91828,
    "c": 0.16413,
    "h": 108.5
  },
  "luminance": 0.78906
}

Semantic roles & 50–950 ramp

primary
#EEEC5A
secondary
#3335B9
accent
#0BDE08
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #EEEC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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