#ECE2AB#ECE2AB

#ECE2AB is a very light, moderate yellow. Relative luminance 0.752; OKLCH L 90.8% C 0.072 H 99.0°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#ECE2AB
RGBrgb(236, 226, 171)
HSLhsl(51, 63%, 80%)
HSVhsv(51, 28%, 93%)
CMYKcmyk(0%, 4.2%, 27.5%, 7.5%)
CIE-LABlab(89.47, -4.94, 28.18)
CIE-LCHlch(89.47, 28.61, 99.95°)
OKLaboklab(90.75% -0.0112 0.071)
OKLCHoklch(90.75% 0.072 99)
XYZxyz(69.1395, 75.1673, 49.3868)
Luminance0.7517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE2AB #ABB5EC
analogous
#ECC1AB #ECE2AB #D6ECAB
triadic
#ECE2AB #ABECE2 #E2ABEC
tetradic
#ECE2AB #ABECC1 #ABB5EC #ECABD6
square
#ECE2AB #ABECC1 #ABB5EC #ECABD6
split-complementary
#ECE2AB #ABD6EC #C1ABEC
monochromatic
#D5C047 #E1D179 #ECE2AB #F7F3DD #F9F6E6

Accessibility & contrast

On white

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

On black

16.03
#ECE2AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE2AB
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE2AB#FFFFFF#000000##000000
##ECE2AB1.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDFA7
Deuteranopia (green-blind)
#F0E3AD
Tritanopia (blue-blind)
#F6DAD3
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ece2ab;
/* rgb */ color: rgb(236, 226, 171);
/* oklch */ color: oklch(90.8% 0.072 99.0);
Tailwind
colors: {
  custom: {
    50: '#f3ebc4',
    500: '#ece2ab',
    950: '#000000',
  },
}
SCSS
$custom: #ece2ab;
$custom-light: #f3ebc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ece2ab",
  "rgb": {
    "r": 236,
    "g": 226,
    "b": 171
  },
  "hsl": {
    "h": 50.769,
    "s": 63.107,
    "l": 79.804
  },
  "oklch": {
    "l": 0.90752,
    "c": 0.07192,
    "h": 99
  },
  "luminance": 0.75166
}

Semantic roles & 50–950 ramp

primary
#ECE2AB
secondary
#7380C9
accent
#36CB1B
background
#FFFEFD
surface
#FEFDF9
border
#D6D5D2
text
#171612
muted
#858482

Preview Lab

Preview with #ECE2AB

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

Preview Lab → · Contrast checker → · Palette generator →

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