#EEC02E#EEC02E

#EEC02E is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.6% C 0.157 H 89.7°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#EEC02E
RGBrgb(238, 192, 46)
HSLhsl(46, 85%, 56%)
HSVhsv(46, 81%, 93%)
CMYKcmyk(0%, 19.3%, 80.7%, 6.7%)
CIE-LABlab(79.66, 3.34, 73.12)
CIE-LCHlch(79.66, 73.20, 87.38°)
OKLaboklab(82.59% 0.0008 0.1575)
OKLCHoklch(82.59% 0.157 89.7)
XYZxyz(54.6061, 56.0773, 10.5321)
Luminance0.5607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEC02E #2E5CEE
analogous
#EE602E #EEC02E #BCEE2E
triadic
#EEC02E #2EEEC0 #C02EEE
tetradic
#EEC02E #2EEE60 #2E5CEE #EE2EBC
square
#EEC02E #2EEE60 #2E5CEE #EE2EBC
split-complementary
#EEC02E #2EBCEE #602EEE
monochromatic
#95750C #CEA111 #EEC02E #F3D167 #F7E29F

Accessibility & contrast

On white

1.72
#EEC02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#EEC02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEC02E
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEC02E#FFFFFF#000000##000000
##EEC02E1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#E2CB38
Tritanopia (blue-blind)
#FFAFA5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #eec02e;
/* rgb */ color: rgb(238, 192, 46);
/* oklch */ color: oklch(82.6% 0.157 89.7);
Tailwind
colors: {
  custom: {
    50: '#f9d274',
    500: '#eec02e',
    950: '#000000',
  },
}
SCSS
$custom: #eec02e;
$custom-light: #f9d274;
$custom-dark: #000000;
JSON
{
  "hex": "#eec02e",
  "rgb": {
    "r": 238,
    "g": 192,
    "b": 46
  },
  "hsl": {
    "h": 45.625,
    "s": 84.956,
    "l": 55.686
  },
  "oklch": {
    "l": 0.82593,
    "c": 0.15747,
    "h": 89.7
  },
  "luminance": 0.56074
}

Semantic roles & 50–950 ramp

primary
#EEC02E
secondary
#274299
accent
#5EFB2D
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#181409
muted
#86837D

Preview Lab

Preview with #EEC02E

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

Preview Lab → · Contrast checker → · Palette generator →

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