#ECFAC2#ECFAC2

#ECFAC2 is a very light, moderate yellow-green. Relative luminance 0.901; OKLCH L 96.1% C 0.074 H 119.2°. Best body text is #000000 at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#ECFAC2
RGBrgb(236, 250, 194)
HSLhsl(75, 85%, 87%)
HSVhsv(75, 22%, 98%)
CMYKcmyk(5.6%, 0%, 22.4%, 2%)
CIE-LABlab(96.04, -13.78, 25.39)
CIE-LCHlch(96.04, 28.89, 118.49°)
OKLaboklab(96.09% -0.0361 0.0646)
OKLCHoklch(96.09% 0.074 119.2)
XYZxyz(78.5144, 90.0993, 64.2831)
Luminance0.9010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFAC2 #D0C2FA
analogous
#FAECC2 #ECFAC2 #D0FAC2
triadic
#ECFAC2 #C2ECFA #FAC2EC
tetradic
#ECFAC2 #C2FAEC #D0C2FA #FAC2D0
square
#ECFAC2 #C2FAEC #D0C2FA #FAC2D0
split-complementary
#ECFAC2 #C2D0FA #ECC2FA
monochromatic
#C9F151 #DAF589 #ECFAC2 #F6FDE3 #F6FDE3

Accessibility & contrast

On white

1.10
#ECFAC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.02
#ECFAC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFAC2
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFAC2#FFFFFF#000000##000000
##ECFAC21.001.1019.0219.02
#FFFFFF1.101.0021.0021.00
#00000019.0221.001.001.00
##00000019.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4BF
Deuteranopia (green-blind)
#FFF4C4
Tritanopia (blue-blind)
#F1F4EB
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #ecfac2;
/* rgb */ color: rgb(236, 250, 194);
/* oklch */ color: oklch(96.1% 0.074 119.2);
Tailwind
colors: {
  custom: {
    50: '#f2fcd4',
    500: '#ecfac2',
    950: '#000000',
  },
}
SCSS
$custom: #ecfac2;
$custom-light: #f2fcd4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfac2",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 194
  },
  "hsl": {
    "h": 75,
    "s": 84.848,
    "l": 87.059
  },
  "oklch": {
    "l": 0.96092,
    "c": 0.07398,
    "h": 119.2
  },
  "luminance": 0.90099
}

Semantic roles & 50–950 ramp

primary
#ECFAC2
secondary
#9981DF
accent
#04E13B
background
#FFFFFE
surface
#FEFFFB
border
#D6D7D4
text
#171714
muted
#858583

Preview Lab

Preview with #ECFAC2

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

Preview Lab → · Contrast checker → · Palette generator →

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