#ECF2BA#ECF2BA

#ECF2BA is a very light, moderate yellow. Relative luminance 0.849; OKLCH L 94.3% C 0.073 H 112.8°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#ECF2BA
RGBrgb(236, 242, 186)
HSLhsl(66, 68%, 84%)
HSVhsv(66, 23%, 95%)
CMYKcmyk(2.5%, 0%, 23.1%, 5.1%)
CIE-LABlab(93.83, -10.95, 26.44)
CIE-LCHlch(93.83, 28.62, 112.51°)
OKLaboklab(94.29% -0.0281 0.067)
OKLCHoklch(94.29% 0.073 112.8)
XYZxyz(75.2067, 84.8829, 58.8670)
Luminance0.8488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF2BA #C0BAF2
analogous
#F2DCBA #ECF2BA #D0F2BA
triadic
#ECF2BA #BAECF2 #F2BAEC
tetradic
#ECF2BA #BAF2DC #C0BAF2 #F2BAD0
square
#ECF2BA #BAF2DC #C0BAF2 #F2BAD0
split-complementary
#ECF2BA #BAD0F2 #DCBAF2
monochromatic
#D0DF53 #DEE887 #ECF2BA #F8FAE5 #F8FAE5

Accessibility & contrast

On white

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

On black

17.98
#ECF2BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF2BA
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF2BA#FFFFFF#000000##000000
##ECF2BA1.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBEDB6
Deuteranopia (green-blind)
#FBEEBC
Tritanopia (blue-blind)
#F3EBE3
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf2ba;
/* rgb */ color: rgb(236, 242, 186);
/* oklch */ color: oklch(94.3% 0.073 112.8);
Tailwind
colors: {
  custom: {
    50: '#f2f6cf',
    500: '#ecf2ba',
    950: '#000000',
  },
}
SCSS
$custom: #ecf2ba;
$custom-light: #f2f6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf2ba",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 186
  },
  "hsl": {
    "h": 66.429,
    "s": 68.293,
    "l": 83.922
  },
  "oklch": {
    "l": 0.94293,
    "c": 0.07271,
    "h": 112.8
  },
  "luminance": 0.84882
}

Semantic roles & 50–950 ramp

primary
#ECF2BA
secondary
#877FD2
accent
#15D029
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171713
muted
#858583

Preview Lab

Preview with #ECF2BA

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

Preview Lab → · Contrast checker → · Palette generator →

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