#E8FAC2#E8FAC2

#E8FAC2 is a very light, moderate yellow-green. Relative luminance 0.894; OKLCH L 95.8% C 0.075 H 122.3°. Best body text is #000000 at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#E8FAC2
RGBrgb(232, 250, 194)
HSLhsl(79, 85%, 87%)
HSVhsv(79, 22%, 98%)
CMYKcmyk(7.2%, 0%, 22.4%, 2%)
CIE-LABlab(95.76, -15.20, 24.96)
CIE-LCHlch(95.76, 29.22, 121.34°)
OKLaboklab(95.8% -0.0401 0.0635)
OKLCHoklch(95.8% 0.075 122.3)
XYZxyz(77.2008, 89.4220, 64.2215)
Luminance0.8942 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8FAC2 #D4C2FA
analogous
#FAF0C2 #E8FAC2 #CCFAC2
triadic
#E8FAC2 #C2E8FA #FAC2E8
tetradic
#E8FAC2 #C2FAF0 #D4C2FA #FAC2CC
square
#E8FAC2 #C2FAF0 #D4C2FA #FAC2CC
split-complementary
#E8FAC2 #C2CCFA #F0C2FA
monochromatic
#BDF151 #D3F589 #E8FAC2 #F4FDE3 #F4FDE3

Accessibility & contrast

On white

1.11
#E8FAC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.88
#E8FAC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8FAC2
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8FAC2#FFFFFF#000000##000000
##E8FAC21.001.1118.8818.88
#FFFFFF1.111.0021.0021.00
#00000018.8821.001.001.00
##00000018.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3BF
Deuteranopia (green-blind)
#FFF3C4
Tritanopia (blue-blind)
#EDF4EB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #e8fac2;
/* rgb */ color: rgb(232, 250, 194);
/* oklch */ color: oklch(95.8% 0.075 122.3);
Tailwind
colors: {
  custom: {
    50: '#effcd4',
    500: '#e8fac2',
    950: '#000000',
  },
}
SCSS
$custom: #e8fac2;
$custom-light: #effcd4;
$custom-dark: #000000;
JSON
{
  "hex": "#e8fac2",
  "rgb": {
    "r": 232,
    "g": 250,
    "b": 194
  },
  "hsl": {
    "h": 79.286,
    "s": 84.848,
    "l": 87.059
  },
  "oklch": {
    "l": 0.95798,
    "c": 0.07513,
    "h": 122.3
  },
  "luminance": 0.89422
}

Semantic roles & 50–950 ramp

primary
#E8FAC2
secondary
#9F81DF
accent
#04E14B
background
#FFFFFE
surface
#FEFFFB
border
#D6D7D4
text
#161714
muted
#858583

Preview Lab

Preview with #E8FAC2

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

Preview Lab → · Contrast checker → · Palette generator →

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