#ECE2B2#ECE2B2

#ECE2B2 is a very light, moderate yellow. Relative luminance 0.754; OKLCH L 90.9% C 0.063 H 97.6°. Best body text is #000000 at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#ECE2B2
RGBrgb(236, 226, 178)
HSLhsl(50, 60%, 81%)
HSVhsv(50, 25%, 93%)
CMYKcmyk(0%, 4.2%, 24.6%, 7.5%)
CIE-LABlab(89.60, -4.01, 24.75)
CIE-LCHlch(89.60, 25.07, 99.21°)
OKLaboklab(90.9% -0.0084 0.0628)
OKLCHoklch(90.9% 0.063 97.6)
XYZxyz(69.8244, 75.4413, 52.9942)
Luminance0.7544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE2B2 #B2BCEC
analogous
#ECC5B2 #ECE2B2 #D9ECB2
triadic
#ECE2B2 #B2ECE2 #E2B2EC
tetradic
#ECE2B2 #B2ECC5 #B2BCEC #ECB2D9
square
#ECE2B2 #B2ECC5 #B2BCEC #ECB2D9
split-complementary
#ECE2B2 #B2D9EC #C5B2EC
monochromatic
#D4BD50 #E0D081 #ECE2B2 #F8F4E3 #F9F6E6

Accessibility & contrast

On white

1.31
#ECE2B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.09
#ECE2B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE2B2
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE2B2#FFFFFF#000000##000000
##ECE2B21.001.3116.0916.09
#FFFFFF1.311.0021.0021.00
#00000016.0921.001.001.00
##00000016.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDFAF
Deuteranopia (green-blind)
#EFE3B4
Tritanopia (blue-blind)
#F5DBD5
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ece2b2;
/* rgb */ color: rgb(236, 226, 178);
/* oklch */ color: oklch(90.9% 0.063 97.6);
Tailwind
colors: {
  custom: {
    50: '#f2ebc9',
    500: '#ece2b2',
    950: '#000000',
  },
}
SCSS
$custom: #ece2b2;
$custom-light: #f2ebc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ece2b2",
  "rgb": {
    "r": 236,
    "g": 226,
    "b": 178
  },
  "hsl": {
    "h": 49.655,
    "s": 60.417,
    "l": 81.176
  },
  "oklch": {
    "l": 0.90895,
    "c": 0.0634,
    "h": 97.6
  },
  "luminance": 0.7544
}

Semantic roles & 50–950 ramp

primary
#ECE2B2
secondary
#7987C9
accent
#3BC81D
background
#FFFEFD
surface
#FEFDF9
border
#D6D5D2
text
#171613
muted
#858482

Preview Lab

Preview with #ECE2B2

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

Preview Lab → · Contrast checker → · Palette generator →

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