#EEF2AB#EEF2AB

#EEF2AB is a very light, moderate yellow. Relative luminance 0.846; OKLCH L 94.2% C 0.091 H 110.7°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#EEF2AB
RGBrgb(238, 242, 171)
HSLhsl(63, 73%, 81%)
HSVhsv(63, 29%, 95%)
CMYKcmyk(1.7%, 0%, 29.3%, 5.1%)
CIE-LABlab(93.72, -12.21, 33.92)
CIE-LCHlch(93.72, 36.04, 109.79°)
OKLaboklab(94.16% -0.0321 0.0847)
OKLCHoklch(94.16% 0.091 110.7)
XYZxyz(74.3629, 84.6226, 50.9366)
Luminance0.8462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF2AB #AFABF2
analogous
#F2D2AB #EEF2AB #CAF2AB
triadic
#EEF2AB #ABEEF2 #F2ABEE
tetradic
#EEF2AB #ABF2D2 #AFABF2 #F2ABCA
square
#EEF2AB #ABF2D2 #AFABF2 #F2ABCA
split-complementary
#EEF2AB #ABCAF2 #D2ABF2
monochromatic
#D9E241 #E3EA76 #EEF2AB #F9FAE0 #FAFBE5

Accessibility & contrast

On white

1.17
#EEF2AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.92
#EEF2AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF2AB
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF2AB#FFFFFF#000000##000000
##EEF2AB1.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDECA6
Deuteranopia (green-blind)
#FDEEAE
Tritanopia (blue-blind)
#F7EAE0
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #eef2ab;
/* rgb */ color: rgb(238, 242, 171);
/* oklch */ color: oklch(94.2% 0.091 110.7);
Tailwind
colors: {
  custom: {
    50: '#f4f6c4',
    500: '#eef2ab',
    950: '#000000',
  },
}
SCSS
$custom: #eef2ab;
$custom-light: #f4f6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#eef2ab",
  "rgb": {
    "r": 238,
    "g": 242,
    "b": 171
  },
  "hsl": {
    "h": 63.38,
    "s": 73.196,
    "l": 80.98
  },
  "oklch": {
    "l": 0.94155,
    "c": 0.09058,
    "h": 110.7
  },
  "luminance": 0.84622
}

Semantic roles & 50–950 ramp

primary
#EEF2AB
secondary
#7670D1
accent
#10D51B
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171713
muted
#858582

Preview Lab

Preview with #EEF2AB

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

Preview Lab → · Contrast checker → · Palette generator →

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