#ECF7B2#ECF7B2

#ECF7B2 is a very light, moderate yellow. Relative luminance 0.876; OKLCH L 95.2% C 0.089 H 115.5°. Best body text is #000000 at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#ECF7B2
RGBrgb(236, 247, 178)
HSLhsl(70, 81%, 83%)
HSVhsv(70, 28%, 97%)
CMYKcmyk(4.5%, 0%, 27.9%, 3.1%)
CIE-LABlab(94.98, -14.50, 32.05)
CIE-LCHlch(94.98, 35.18, 114.35°)
OKLaboklab(95.16% -0.0383 0.0804)
OKLCHoklch(95.16% 0.089 115.5)
XYZxyz(75.8884, 87.5693, 55.0156)
Luminance0.8757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF7B2 #BDB2F7
analogous
#F7DFB2 #ECF7B2 #C9F7B2
triadic
#ECF7B2 #B2ECF7 #F7B2EC
tetradic
#ECF7B2 #B2F7DF #BDB2F7 #F7B2C9
square
#ECF7B2 #B2F7DF #BDB2F7 #F7B2C9
split-complementary
#ECF7B2 #B2C9F7 #DFB2F7
monochromatic
#D1EB43 #DEF17B #ECF7B2 #F8FCE3 #F8FCE3

Accessibility & contrast

On white

1.13
#ECF7B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.51
#ECF7B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF7B2
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF7B2#FFFFFF#000000##000000
##ECF7B21.001.1318.5118.51
#FFFFFF1.131.0021.0021.00
#00000018.5121.001.001.00
##00000018.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF0AD
Deuteranopia (green-blind)
#FFF1B5
Tritanopia (blue-blind)
#F4EFE5
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecf7b2;
/* rgb */ color: rgb(236, 247, 178);
/* oklch */ color: oklch(95.2% 0.089 115.5);
Tailwind
colors: {
  custom: {
    50: '#f2f9c9',
    500: '#ecf7b2',
    950: '#000000',
  },
}
SCSS
$custom: #ecf7b2;
$custom-light: #f2f9c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf7b2",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 178
  },
  "hsl": {
    "h": 69.565,
    "s": 81.176,
    "l": 83.333
  },
  "oklch": {
    "l": 0.95157,
    "c": 0.0891,
    "h": 115.5
  },
  "luminance": 0.87569
}

Semantic roles & 50–950 ramp

primary
#ECF7B2
secondary
#8474D9
accent
#08DE2A
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171713
muted
#858582

Preview Lab

Preview with #ECF7B2

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

Preview Lab → · Contrast checker → · Palette generator →

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