#ECF2B2#ECF2B2

#ECF2B2 is a very light, moderate yellow. Relative luminance 0.846; OKLCH L 94.1% C 0.082 H 112.3°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#ECF2B2
RGBrgb(236, 242, 178)
HSLhsl(66, 71%, 82%)
HSVhsv(66, 26%, 95%)
CMYKcmyk(2.5%, 0%, 26.4%, 5.1%)
CIE-LABlab(93.69, -12.04, 30.31)
CIE-LCHlch(93.69, 32.61, 111.66°)
OKLaboklab(94.13% -0.0313 0.0763)
OKLCHoklch(94.13% 0.082 112.3)
XYZxyz(74.3799, 84.5522, 54.5127)
Luminance0.8455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF2B2 #B8B2F2
analogous
#F2D8B2 #ECF2B2 #CCF2B2
triadic
#ECF2B2 #B2ECF2 #F2B2EC
tetradic
#ECF2B2 #B2F2D8 #B8B2F2 #F2B2CC
square
#ECF2B2 #B2F2D8 #B8B2F2 #F2B2CC
split-complementary
#ECF2B2 #B2CCF2 #D8B2F2
monochromatic
#D2E049 #DFE97E #ECF2B2 #F9FBE5 #F9FBE5

Accessibility & contrast

On white

1.17
#ECF2B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.91
#ECF2B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF2B2
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF2B2#FFFFFF#000000##000000
##ECF2B21.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCECAE
Deuteranopia (green-blind)
#FCEEB5
Tritanopia (blue-blind)
#F4EAE1
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf2b2;
/* rgb */ color: rgb(236, 242, 178);
/* oklch */ color: oklch(94.1% 0.082 112.3);
Tailwind
colors: {
  custom: {
    50: '#f2f6c9',
    500: '#ecf2b2',
    950: '#000000',
  },
}
SCSS
$custom: #ecf2b2;
$custom-light: #f2f6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf2b2",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 178
  },
  "hsl": {
    "h": 65.625,
    "s": 71.111,
    "l": 82.353
  },
  "oklch": {
    "l": 0.94133,
    "c": 0.08247,
    "h": 112.3
  },
  "luminance": 0.84551
}

Semantic roles & 50–950 ramp

primary
#ECF2B2
secondary
#7F77D1
accent
#12D324
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171713
muted
#858582

Preview Lab

Preview with #ECF2B2

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

Preview Lab → · Contrast checker → · Palette generator →

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