#ECF2BF#ECF2BF

#ECF2BF is a very light, moderate yellow. Relative luminance 0.851; OKLCH L 94.4% C 0.067 H 113.1°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#ECF2BF
RGBrgb(236, 242, 191)
HSLhsl(67, 66%, 85%)
HSVhsv(67, 21%, 95%)
CMYKcmyk(2.5%, 0%, 21.1%, 5.1%)
CIE-LABlab(93.93, -10.25, 24.01)
CIE-LCHlch(93.93, 26.11, 113.12°)
OKLaboklab(94.4% -0.0261 0.0612)
OKLCHoklch(94.4% 0.067 113.1)
XYZxyz(75.7475, 85.0993, 61.7155)
Luminance0.8510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF2BF #C5BFF2
analogous
#F2DFBF #ECF2BF #D2F2BF
triadic
#ECF2BF #BFECF2 #F2BFEC
tetradic
#ECF2BF #BFF2DF #C5BFF2 #F2BFD2
square
#ECF2BF #BFF2DF #C5BFF2 #F2BFD2
split-complementary
#ECF2BF #BFD2F2 #DFBFF2
monochromatic
#CEDD59 #DDE88C #ECF2BF #F7FAE6 #F7FAE6

Accessibility & contrast

On white

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

On black

18.02
#ECF2BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF2BF
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF2BF#FFFFFF#000000##000000
##ECF2BF1.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAEDBC
Deuteranopia (green-blind)
#FAEEC1
Tritanopia (blue-blind)
#F2ECE4
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf2bf;
/* rgb */ color: rgb(236, 242, 191);
/* oklch */ color: oklch(94.4% 0.067 113.1);
Tailwind
colors: {
  custom: {
    50: '#f2f6d2',
    500: '#ecf2bf',
    950: '#000000',
  },
}
SCSS
$custom: #ecf2bf;
$custom-light: #f2f6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf2bf",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 191
  },
  "hsl": {
    "h": 67.059,
    "s": 66.234,
    "l": 84.902
  },
  "oklch": {
    "l": 0.94398,
    "c": 0.06652,
    "h": 113.1
  },
  "luminance": 0.85099
}

Semantic roles & 50–950 ramp

primary
#ECF2BF
secondary
#8D83D2
accent
#17CE2D
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #ECF2BF

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

Preview Lab → · Contrast checker → · Palette generator →

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