#ECFBA2#ECFBA2

#ECFBA2 is a very light, moderate yellow-green. Relative luminance 0.894; OKLCH L 95.7% C 0.113 H 116.4°. Best body text is #000000 at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#ECFBA2
RGBrgb(236, 251, 162)
HSLhsl(70, 92%, 81%)
HSVhsv(70, 35%, 98%)
CMYKcmyk(6%, 0%, 35.5%, 1.6%)
CIE-LABlab(95.76, -18.45, 41.06)
CIE-LCHlch(95.76, 45.01, 114.19°)
OKLaboklab(95.7% -0.0502 0.1012)
OKLCHoklch(95.7% 0.113 116.4)
XYZxyz(75.6110, 89.4365, 47.4551)
Luminance0.8944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFBA2 #B1A2FB
analogous
#FBDDA2 #ECFBA2 #BFFBA2
triadic
#ECFBA2 #A2ECFB #FBA2EC
tetradic
#ECFBA2 #A2FBDD #B1A2FB #FBA2BF
square
#ECFBA2 #A2FBDD #B1A2FB #FBA2BF
split-complementary
#ECFBA2 #A2BFFB #DDA2FB
monochromatic
#D4F62D #E0F867 #ECFBA2 #F8FEDD #F9FEE2

Accessibility & contrast

On white

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

On black

18.89
#ECFBA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFBA2
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFBA2#FFFFFF#000000##000000
##ECFBA21.001.1118.8918.89
#FFFFFF1.111.0021.0021.00
#00000018.8921.001.001.00
##00000018.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF29C
Deuteranopia (green-blind)
#FFF4A6
Tritanopia (blue-blind)
#F5F2E5
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecfba2;
/* rgb */ color: rgb(236, 251, 162);
/* oklch */ color: oklch(95.7% 0.113 116.4);
Tailwind
colors: {
  custom: {
    50: '#f3fcbe',
    500: '#ecfba2',
    950: '#000000',
  },
}
SCSS
$custom: #ecfba2;
$custom-light: #f3fcbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfba2",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 162
  },
  "hsl": {
    "h": 70.112,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.95698,
    "c": 0.11293,
    "h": 116.4
  },
  "luminance": 0.89436
}

Semantic roles & 50–950 ramp

primary
#ECFBA2
secondary
#7864DD
accent
#00E627
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171712
muted
#858582

Preview Lab

Preview with #ECFBA2

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

Preview Lab → · Contrast checker → · Palette generator →

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