#EEF8AF#EEF8AF

#EEF8AF is a very light, moderate yellow. Relative luminance 0.884; OKLCH L 95.5% C 0.094 H 114.5°. Best body text is #000000 at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#EEF8AF
RGBrgb(238, 248, 175)
HSLhsl(68, 84%, 83%)
HSVhsv(68, 29%, 97%)
CMYKcmyk(4%, 0%, 29.4%, 2.7%)
CIE-LABlab(95.33, -14.65, 34.05)
CIE-LCHlch(95.33, 37.07, 113.28°)
OKLaboklab(95.46% -0.0389 0.0851)
OKLCHoklch(95.46% 0.094 114.5)
XYZxyz(76.5651, 88.4078, 53.5801)
Luminance0.8841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF8AF #B9AFF8
analogous
#F8DDAF #EEF8AF #C9F8AF
triadic
#EEF8AF #AFEEF8 #F8AFEE
tetradic
#EEF8AF #AFF8DD #B9AFF8 #F8AFC9
square
#EEF8AF #AFF8DD #B9AFF8 #F8AFC9
split-complementary
#EEF8AF #AFC9F8 #DDAFF8
monochromatic
#D6EE3E #E2F377 #EEF8AF #F9FDE3 #F9FDE3

Accessibility & contrast

On white

1.12
#EEF8AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.68
#EEF8AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF8AF
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF8AF#FFFFFF#000000##000000
##EEF8AF1.001.1218.6818.68
#FFFFFF1.121.0021.0021.00
#00000018.6821.001.001.00
##00000018.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF1AA
Deuteranopia (green-blind)
#FFF2B2
Tritanopia (blue-blind)
#F6F0E5
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #eef8af;
/* rgb */ color: rgb(238, 248, 175);
/* oklch */ color: oklch(95.5% 0.094 114.5);
Tailwind
colors: {
  custom: {
    50: '#f4fac7',
    500: '#eef8af',
    950: '#000000',
  },
}
SCSS
$custom: #eef8af;
$custom-light: #f4fac7;
$custom-dark: #000000;
JSON
{
  "hex": "#eef8af",
  "rgb": {
    "r": 238,
    "g": 248,
    "b": 175
  },
  "hsl": {
    "h": 68.219,
    "s": 83.908,
    "l": 82.941
  },
  "oklch": {
    "l": 0.95457,
    "c": 0.0936,
    "h": 114.5
  },
  "luminance": 0.88407
}

Semantic roles & 50–950 ramp

primary
#EEF8AF
secondary
#7F71DA
accent
#05E023
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171713
muted
#858582

Preview Lab

Preview with #EEF8AF

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

Preview Lab → · Contrast checker → · Palette generator →

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