#EEC22E#EEC22E

#EEC22E is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 83.0% C 0.158 H 90.8°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#EEC22E
RGBrgb(238, 194, 46)
HSLhsl(46, 85%, 56%)
HSVhsv(46, 81%, 93%)
CMYKcmyk(0%, 18.5%, 80.7%, 6.7%)
CIE-LABlab(80.16, 2.30, 73.56)
CIE-LCHlch(80.16, 73.59, 88.21°)
OKLaboklab(82.99% -0.0021 0.1584)
OKLCHoklch(82.99% 0.158 90.8)
XYZxyz(55.0482, 56.9616, 10.6795)
Luminance0.5696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEC22E #2E5AEE
analogous
#EE622E #EEC22E #BAEE2E
triadic
#EEC22E #2EEEC2 #C22EEE
tetradic
#EEC22E #2EEE62 #2E5AEE #EE2EBA
square
#EEC22E #2EEE62 #2E5AEE #EE2EBA
split-complementary
#EEC22E #2EBAEE #622EEE
monochromatic
#95760C #CEA311 #EEC22E #F3D367 #F7E39F

Accessibility & contrast

On white

1.69
#EEC22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#EEC22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEC22E
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEC22E#FFFFFF#000000##000000
##EEC22E1.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C000
Deuteranopia (green-blind)
#E4CC38
Tritanopia (blue-blind)
#FFB1A7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #eec22e;
/* rgb */ color: rgb(238, 194, 46);
/* oklch */ color: oklch(83.0% 0.158 90.8);
Tailwind
colors: {
  custom: {
    50: '#f9d474',
    500: '#eec22e',
    950: '#000000',
  },
}
SCSS
$custom: #eec22e;
$custom-light: #f9d474;
$custom-dark: #000000;
JSON
{
  "hex": "#eec22e",
  "rgb": {
    "r": 238,
    "g": 194,
    "b": 46
  },
  "hsl": {
    "h": 46.25,
    "s": 84.956,
    "l": 55.686
  },
  "oklch": {
    "l": 0.82987,
    "c": 0.15843,
    "h": 90.8
  },
  "luminance": 0.56958
}

Semantic roles & 50–950 ramp

primary
#EEC22E
secondary
#274199
accent
#5CFB2D
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#181409
muted
#86837D

Preview Lab

Preview with #EEC22E

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

Preview Lab → · Contrast checker → · Palette generator →

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