#EEF162#EEF162

#EEF162 is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 92.9% C 0.163 H 110.3°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#EEF162
RGBrgb(238, 241, 98)
HSLhsl(61, 84%, 66%)
HSVhsv(61, 59%, 95%)
CMYKcmyk(1.2%, 0%, 59.3%, 5.5%)
CIE-LABlab(92.56, -18.74, 66.79)
CIE-LCHlch(92.56, 69.37, 105.67°)
OKLaboklab(92.94% -0.0566 0.1529)
OKLCHoklch(92.94% 0.163 110.3)
XYZxyz(68.9218, 81.9713, 23.7443)
Luminance0.8197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF162 #6562F1
analogous
#F1AD62 #EEF162 #A7F162
triadic
#EEF162 #62EEF1 #F162EE
tetradic
#EEF162 #62F1AD #6562F1 #F162A7
square
#EEF162 #62F1AD #6562F1 #F162A7
split-complementary
#EEF162 #62A7F1 #AD62F1
monochromatic
#C3C712 #E8EC2A #EEF162 #F4F69A #FAFBD2

Accessibility & contrast

On white

1.21
#EEF162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.39
#EEF162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF162
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF162#FFFFFF#000000##000000
##EEF1621.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE751
Deuteranopia (green-blind)
#FFEC6B
Tritanopia (blue-blind)
#FDE3D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #eef162;
/* rgb */ color: rgb(238, 241, 98);
/* oklch */ color: oklch(92.9% 0.163 110.3);
Tailwind
colors: {
  custom: {
    50: '#f6f594',
    500: '#eef162',
    950: '#000000',
  },
}
SCSS
$custom: #eef162;
$custom-light: #f6f594;
$custom-dark: #000000;
JSON
{
  "hex": "#eef162",
  "rgb": {
    "r": 238,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 61.259,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92941,
    "c": 0.16309,
    "h": 110.3
  },
  "luminance": 0.8197
}

Semantic roles & 50–950 ramp

primary
#EEF162
secondary
#3633C4
accent
#05E00A
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #EEF162

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

Preview Lab → · Contrast checker → · Palette generator →

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