#ECF2AA#ECF2AA

#ECF2AA is a very light, moderate yellow. Relative luminance 0.842; OKLCH L 94.0% C 0.092 H 112.0°. Best body text is #000000 at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#ECF2AA
RGBrgb(236, 242, 170)
HSLhsl(65, 73%, 81%)
HSVhsv(65, 30%, 95%)
CMYKcmyk(2.5%, 0%, 29.8%, 5.1%)
CIE-LABlab(93.55, -13.07, 34.17)
CIE-LCHlch(93.55, 36.59, 110.94°)
OKLaboklab(93.98% -0.0345 0.0853)
OKLCHoklch(93.98% 0.092 112)
XYZxyz(73.6000, 84.2403, 50.4052)
Luminance0.8424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF2AA #B0AAF2
analogous
#F2D4AA #ECF2AA #C8F2AA
triadic
#ECF2AA #AAECF2 #F2AAEC
tetradic
#ECF2AA #AAF2D4 #B0AAF2 #F2AAC8
square
#ECF2AA #AAF2D4 #B0AAF2 #F2AAC8
split-complementary
#ECF2AA #AAC8F2 #D4AAF2
monochromatic
#D4E240 #E0EA75 #ECF2AA #F8FADF #F9FBE4

Accessibility & contrast

On white

1.18
#ECF2AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.85
#ECF2AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF2AA
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF2AA#FFFFFF#000000##000000
##ECF2AA1.001.1817.8517.85
#FFFFFF1.181.0021.0021.00
#00000017.8521.001.001.00
##00000017.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDEBA5
Deuteranopia (green-blind)
#FDEEAD
Tritanopia (blue-blind)
#F5EADF
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #ecf2aa;
/* rgb */ color: rgb(236, 242, 170);
/* oklch */ color: oklch(94.0% 0.092 112.0);
Tailwind
colors: {
  custom: {
    50: '#f3f6c4',
    500: '#ecf2aa',
    950: '#000000',
  },
}
SCSS
$custom: #ecf2aa;
$custom-light: #f3f6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf2aa",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 170
  },
  "hsl": {
    "h": 65,
    "s": 73.469,
    "l": 80.784
  },
  "oklch": {
    "l": 0.93981,
    "c": 0.09203,
    "h": 112
  },
  "luminance": 0.84239
}

Semantic roles & 50–950 ramp

primary
#ECF2AA
secondary
#776FD1
accent
#10D620
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171712
muted
#858582

Preview Lab

Preview with #ECF2AA

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

Preview Lab → · Contrast checker → · Palette generator →

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