#E7FAC2#E7FAC2

#E7FAC2 is a very light, moderate yellow-green. Relative luminance 0.893; OKLCH L 95.7% C 0.075 H 123.0°. Best body text is #000000 at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#E7FAC2
RGBrgb(231, 250, 194)
HSLhsl(80, 85%, 87%)
HSVhsv(80, 22%, 98%)
CMYKcmyk(7.6%, 0%, 22.4%, 2%)
CIE-LABlab(95.69, -15.55, 24.85)
CIE-LCHlch(95.69, 29.31, 122.03°)
OKLaboklab(95.73% -0.0411 0.0633)
OKLCHoklch(95.73% 0.075 123)
XYZxyz(76.8771, 89.2551, 64.2064)
Luminance0.8925 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7FAC2 #D5C2FA
analogous
#FAF1C2 #E7FAC2 #CBFAC2
triadic
#E7FAC2 #C2E7FA #FAC2E7
tetradic
#E7FAC2 #C2FAF1 #D5C2FA #FAC2CB
square
#E7FAC2 #C2FAF1 #D5C2FA #FAC2CB
split-complementary
#E7FAC2 #C2CBFA #F1C2FA
monochromatic
#BAF151 #D1F589 #E7FAC2 #F4FDE3 #F4FDE3

Accessibility & contrast

On white

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

On black

18.85
#E7FAC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7FAC2
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7FAC2#FFFFFF#000000##000000
##E7FAC21.001.1118.8518.85
#FFFFFF1.111.0021.0021.00
#00000018.8521.001.001.00
##00000018.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7fac2;
/* rgb */ color: rgb(231, 250, 194);
/* oklch */ color: oklch(95.7% 0.075 123.0);
Tailwind
colors: {
  custom: {
    50: '#effcd4',
    500: '#e7fac2',
    950: '#000000',
  },
}
SCSS
$custom: #e7fac2;
$custom-light: #effcd4;
$custom-dark: #000000;
JSON
{
  "hex": "#e7fac2",
  "rgb": {
    "r": 231,
    "g": 250,
    "b": 194
  },
  "hsl": {
    "h": 80.357,
    "s": 84.848,
    "l": 87.059
  },
  "oklch": {
    "l": 0.95725,
    "c": 0.07545,
    "h": 123
  },
  "luminance": 0.89255
}

Semantic roles & 50–950 ramp

primary
#E7FAC2
secondary
#A181DF
accent
#04E14F
background
#FFFFFE
surface
#FEFFFB
border
#D6D7D4
text
#161714
muted
#858583

Preview Lab

Preview with #E7FAC2

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

Preview Lab → · Contrast checker → · Palette generator →

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