#ECEFB2#ECEFB2

#ECEFB2 is a very light, moderate yellow. Relative luminance 0.828; OKLCH L 93.5% C 0.079 H 110.2°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#ECEFB2
RGBrgb(236, 239, 178)
HSLhsl(63, 66%, 82%)
HSVhsv(63, 26%, 94%)
CMYKcmyk(1.3%, 0%, 25.5%, 6.3%)
CIE-LABlab(92.92, -10.55, 29.27)
CIE-LCHlch(92.92, 31.11, 109.82°)
OKLaboklab(93.52% -0.0271 0.0738)
OKLCHoklch(93.52% 0.079 110.2)
XYZxyz(73.4943, 82.7811, 54.2175)
Luminance0.8278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEFB2 #B5B2EF
analogous
#EFD4B2 #ECEFB2 #CEEFB2
triadic
#ECEFB2 #B2ECEF #EFB2EC
tetradic
#ECEFB2 #B2EFD4 #B5B2EF #EFB2CE
square
#ECEFB2 #B2EFD4 #B5B2EF #EFB2CE
split-complementary
#ECEFB2 #B2CEEF #D4B2EF
monochromatic
#D3DA4D #DFE47F #ECEFB2 #F9FAE5 #F9FAE6

Accessibility & contrast

On white

1.20
#ECEFB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.56
#ECEFB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEFB2
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEFB2#FFFFFF#000000##000000
##ECEFB21.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9EAAE
Deuteranopia (green-blind)
#F9ECB4
Tritanopia (blue-blind)
#F4E8DF
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ecefb2;
/* rgb */ color: rgb(236, 239, 178);
/* oklch */ color: oklch(93.5% 0.079 110.2);
Tailwind
colors: {
  custom: {
    50: '#f2f4c9',
    500: '#ecefb2',
    950: '#000000',
  },
}
SCSS
$custom: #ecefb2;
$custom-light: #f2f4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecefb2",
  "rgb": {
    "r": 236,
    "g": 239,
    "b": 178
  },
  "hsl": {
    "h": 62.951,
    "s": 65.591,
    "l": 81.765
  },
  "oklch": {
    "l": 0.93521,
    "c": 0.0786,
    "h": 110.2
  },
  "luminance": 0.8278
}

Semantic roles & 50–950 ramp

primary
#ECEFB2
secondary
#7C78CD
accent
#18CD21
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171713
muted
#858582

Preview Lab

Preview with #ECEFB2

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

Preview Lab → · Contrast checker → · Palette generator →

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