#ECDB96#ECDB96

#ECDB96 is a very light, moderate yellow. Relative luminance 0.707; OKLCH L 89.0% C 0.090 H 96.0°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#ECDB96
RGBrgb(236, 219, 150)
HSLhsl(48, 69%, 76%)
HSVhsv(48, 36%, 93%)
CMYKcmyk(0%, 7.2%, 36.4%, 7.5%)
CIE-LABlab(87.34, -3.94, 36.08)
CIE-LCHlch(87.34, 36.29, 96.24°)
OKLaboklab(88.95% -0.0093 0.0892)
OKLCHoklch(88.95% 0.09 96)
XYZxyz(65.4297, 70.6999, 39.0481)
Luminance0.7070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB96 #96A7EC
analogous
#ECB096 #ECDB96 #D2EC96
triadic
#ECDB96 #96ECDB #DB96EC
tetradic
#ECDB96 #96ECB0 #96A7EC #EC96D2
square
#ECDB96 #96ECB0 #96A7EC #EC96D2
split-complementary
#ECDB96 #96D2EC #B096EC
monochromatic
#D9B72E #E3C962 #ECDB96 #F5EDCA #FAF6E5

Accessibility & contrast

On white

1.39
#ECDB96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.14
#ECDB96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDB96
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDB96#FFFFFF#000000##000000
##ECDB961.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D891
Deuteranopia (green-blind)
#EDDD98
Tritanopia (blue-blind)
#F9D1C9
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecdb96;
/* rgb */ color: rgb(236, 219, 150);
/* oklch */ color: oklch(89.0% 0.090 96.0);
Tailwind
colors: {
  custom: {
    50: '#f3e6b5',
    500: '#ecdb96',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb96;
$custom-light: #f3e6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb96",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 150
  },
  "hsl": {
    "h": 48.14,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.88951,
    "c": 0.08968,
    "h": 96
  },
  "luminance": 0.70698
}

Semantic roles & 50–950 ramp

primary
#ECDB96
secondary
#5F73C7
accent
#3AD114
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECDB96

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

Preview Lab → · Contrast checker → · Palette generator →

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