#EEF2AF#EEF2AF

#EEF2AF is a very light, moderate yellow. Relative luminance 0.848; OKLCH L 94.2% C 0.086 H 110.8°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#EEF2AF
RGBrgb(238, 242, 175)
HSLhsl(64, 72%, 82%)
HSVhsv(64, 28%, 95%)
CMYKcmyk(1.7%, 0%, 27.7%, 5.1%)
CIE-LABlab(93.79, -11.70, 31.99)
CIE-LCHlch(93.79, 34.06, 110.09°)
OKLaboklab(94.23% -0.0305 0.0802)
OKLCHoklch(94.23% 0.086 110.8)
XYZxyz(74.7499, 84.7775, 52.9750)
Luminance0.8478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF2AF #B3AFF2
analogous
#F2D5AF #EEF2AF #CDF2AF
triadic
#EEF2AF #AFEEF2 #F2AFEE
tetradic
#EEF2AF #AFF2D5 #B3AFF2 #F2AFCD
square
#EEF2AF #AFF2D5 #B3AFF2 #F2AFCD
split-complementary
#EEF2AF #AFCDF2 #D5AFF2
monochromatic
#D8E146 #E3E97A #EEF2AF #F9FBE4 #F9FBE5

Accessibility & contrast

On white

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

On black

17.96
#EEF2AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF2AF
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF2AF#FFFFFF#000000##000000
##EEF2AF1.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eef2af;
/* rgb */ color: rgb(238, 242, 175);
/* oklch */ color: oklch(94.2% 0.086 110.8);
Tailwind
colors: {
  custom: {
    50: '#f4f6c7',
    500: '#eef2af',
    950: '#000000',
  },
}
SCSS
$custom: #eef2af;
$custom-light: #f4f6c7;
$custom-dark: #000000;
JSON
{
  "hex": "#eef2af",
  "rgb": {
    "r": 238,
    "g": 242,
    "b": 175
  },
  "hsl": {
    "h": 63.582,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.9423,
    "c": 0.08581,
    "h": 110.8
  },
  "luminance": 0.84777
}

Semantic roles & 50–950 ramp

primary
#EEF2AF
secondary
#7A74D1
accent
#11D41D
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171713
muted
#858582

Preview Lab

Preview with #EEF2AF

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

Preview Lab → · Contrast checker → · Palette generator →

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