#ECFAA2#ECFAA2

#ECFAA2 is a very light, moderate yellow. Relative luminance 0.888; OKLCH L 95.5% C 0.112 H 115.9°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#ECFAA2
RGBrgb(236, 250, 162)
HSLhsl(70, 90%, 81%)
HSVhsv(70, 35%, 98%)
CMYKcmyk(5.6%, 0%, 35.2%, 2%)
CIE-LABlab(95.50, -17.96, 40.72)
CIE-LCHlch(95.50, 44.51, 113.80°)
OKLaboklab(95.49% -0.0488 0.1004)
OKLCHoklch(95.49% 0.112 115.9)
XYZxyz(75.2995, 88.8134, 47.3513)
Luminance0.8881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFAA2 #B0A2FA
analogous
#FADCA2 #ECFAA2 #C0FAA2
triadic
#ECFAA2 #A2ECFA #FAA2EC
tetradic
#ECFAA2 #A2FADC #B0A2FA #FAA2C0
square
#ECFAA2 #A2FADC #B0A2FA #FAA2C0
split-complementary
#ECFAA2 #A2C0FA #DCA2FA
monochromatic
#D4F42E #E0F768 #ECFAA2 #F8FDDC #F9FDE2

Accessibility & contrast

On white

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

On black

18.76
#ECFAA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFAA2
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFAA2#FFFFFF#000000##000000
##ECFAA21.001.1218.7618.76
#FFFFFF1.121.0021.0021.00
#00000018.7621.001.001.00
##00000018.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF19C
Deuteranopia (green-blind)
#FFF3A6
Tritanopia (blue-blind)
#F5F1E4
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfaa2;
/* rgb */ color: rgb(236, 250, 162);
/* oklch */ color: oklch(95.5% 0.112 115.9);
Tailwind
colors: {
  custom: {
    50: '#f3fcbe',
    500: '#ecfaa2',
    950: '#000000',
  },
}
SCSS
$custom: #ecfaa2;
$custom-light: #f3fcbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfaa2",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 162
  },
  "hsl": {
    "h": 69.545,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.9549,
    "c": 0.11163,
    "h": 115.9
  },
  "luminance": 0.88813
}

Semantic roles & 50–950 ramp

primary
#ECFAA2
secondary
#7764DC
accent
#00E625
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171712
muted
#858582

Preview Lab

Preview with #ECFAA2

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

Preview Lab → · Contrast checker → · Palette generator →

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