#ECDA96#ECDA96

#ECDA96 is a very light, moderate yellow. Relative luminance 0.702; OKLCH L 88.8% C 0.089 H 95.1°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#ECDA96
RGBrgb(236, 218, 150)
HSLhsl(47, 69%, 76%)
HSVhsv(47, 36%, 93%)
CMYKcmyk(0%, 7.6%, 36.4%, 7.5%)
CIE-LABlab(87.08, -3.43, 35.74)
CIE-LCHlch(87.08, 35.91, 95.49°)
OKLaboklab(88.75% -0.0078 0.0884)
OKLCHoklch(88.75% 0.089 95.1)
XYZxyz(65.1696, 70.1797, 38.9614)
Luminance0.7018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDA96 #96A8EC
analogous
#ECAF96 #ECDA96 #D3EC96
triadic
#ECDA96 #96ECDA #DA96EC
tetradic
#ECDA96 #96ECAF #96A8EC #EC96D3
square
#ECDA96 #96ECAF #96A8EC #EC96D3
split-complementary
#ECDA96 #96D3EC #AF96EC
monochromatic
#D9B52E #E3C862 #ECDA96 #F5ECCA #FAF6E5

Accessibility & contrast

On white

1.40
#ECDA96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.04
#ECDA96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDA96
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDA96#FFFFFF#000000##000000
##ECDA961.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D791
Deuteranopia (green-blind)
#ECDD98
Tritanopia (blue-blind)
#F9D0C9
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ecda96;
/* rgb */ color: rgb(236, 218, 150);
/* oklch */ color: oklch(88.8% 0.089 95.1);
Tailwind
colors: {
  custom: {
    50: '#f3e5b5',
    500: '#ecda96',
    950: '#000000',
  },
}
SCSS
$custom: #ecda96;
$custom-light: #f3e5b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecda96",
  "rgb": {
    "r": 236,
    "g": 218,
    "b": 150
  },
  "hsl": {
    "h": 47.442,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.88751,
    "c": 0.08877,
    "h": 95.1
  },
  "luminance": 0.70178
}

Semantic roles & 50–950 ramp

primary
#ECDA96
secondary
#5F75C7
accent
#3CD114
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECDA96

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

Preview Lab → · Contrast checker → · Palette generator →

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