#EEF7AF#EEF7AF

#EEF7AF is a very light, moderate yellow. Relative luminance 0.878; OKLCH L 95.3% C 0.092 H 114.0°. Best body text is #000000 at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#EEF7AF
RGBrgb(238, 247, 175)
HSLhsl(68, 82%, 83%)
HSVhsv(68, 29%, 97%)
CMYKcmyk(3.6%, 0%, 29.1%, 3.1%)
CIE-LABlab(95.07, -14.16, 33.71)
CIE-LCHlch(95.07, 36.56, 112.79°)
OKLaboklab(95.25% -0.0375 0.0843)
OKLCHoklch(95.25% 0.092 114)
XYZxyz(76.2584, 87.7945, 53.4778)
Luminance0.8779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF7AF #B8AFF7
analogous
#F7DCAF #EEF7AF #CAF7AF
triadic
#EEF7AF #AFEEF7 #F7AFEE
tetradic
#EEF7AF #AFF7DC #B8AFF7 #F7AFCA
square
#EEF7AF #AFF7DC #B8AFF7 #F7AFCA
split-complementary
#EEF7AF #AFCAF7 #DCAFF7
monochromatic
#D6EC40 #E2F177 #EEF7AF #F9FCE3 #F9FCE3

Accessibility & contrast

On white

1.13
#EEF7AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.56
#EEF7AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF7AF
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF7AF#FFFFFF#000000##000000
##EEF7AF1.001.1318.5618.56
#FFFFFF1.131.0021.0021.00
#00000018.5621.001.001.00
##00000018.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF0AA
Deuteranopia (green-blind)
#FFF2B2
Tritanopia (blue-blind)
#F6EFE4
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #eef7af;
/* rgb */ color: rgb(238, 247, 175);
/* oklch */ color: oklch(95.3% 0.092 114.0);
Tailwind
colors: {
  custom: {
    50: '#f4f9c7',
    500: '#eef7af',
    950: '#000000',
  },
}
SCSS
$custom: #eef7af;
$custom-light: #f4f9c7;
$custom-dark: #000000;
JSON
{
  "hex": "#eef7af",
  "rgb": {
    "r": 238,
    "g": 247,
    "b": 175
  },
  "hsl": {
    "h": 67.5,
    "s": 81.818,
    "l": 82.745
  },
  "oklch": {
    "l": 0.95252,
    "c": 0.09227,
    "h": 114
  },
  "luminance": 0.87794
}

Semantic roles & 50–950 ramp

primary
#EEF7AF
secondary
#7E72D9
accent
#07DE22
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171713
muted
#858582

Preview Lab

Preview with #EEF7AF

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

Preview Lab → · Contrast checker → · Palette generator →

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