#ECDB97#ECDB97

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

Color values

HEX#ECDB97
RGBrgb(236, 219, 151)
HSLhsl(48, 69%, 76%)
HSVhsv(48, 36%, 93%)
CMYKcmyk(0%, 7.2%, 36%, 7.5%)
CIE-LABlab(87.35, -3.83, 35.59)
CIE-LCHlch(87.35, 35.79, 96.14°)
OKLaboklab(88.97% -0.0089 0.0881)
OKLCHoklch(88.97% 0.089 95.8)
XYZxyz(65.5106, 70.7322, 39.4740)
Luminance0.7073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB97 #97A8EC
analogous
#ECB097 #ECDB97 #D2EC97
triadic
#ECDB97 #97ECDB #DB97EC
tetradic
#ECDB97 #97ECB0 #97A8EC #EC97D2
square
#ECDB97 #97ECB0 #97A8EC #EC97D2
split-complementary
#ECDB97 #97D2EC #B097EC
monochromatic
#D9B730 #E3C963 #ECDB97 #F5EDCB #FAF6E5

Accessibility & contrast

On white

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

On black

15.15
#ECDB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDB97
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDB97#FFFFFF#000000##000000
##ECDB971.001.3915.1515.15
#FFFFFF1.391.0021.0021.00
#00000015.1521.001.001.00
##00000015.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D892
Deuteranopia (green-blind)
#EDDD99
Tritanopia (blue-blind)
#F9D1CA
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecdb97;
/* rgb */ color: rgb(236, 219, 151);
/* oklch */ color: oklch(89.0% 0.089 95.8);
Tailwind
colors: {
  custom: {
    50: '#f3e6b6',
    500: '#ecdb97',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb97;
$custom-light: #f3e6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb97",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 151
  },
  "hsl": {
    "h": 48,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.88969,
    "c": 0.08854,
    "h": 95.8
  },
  "luminance": 0.7073
}

Semantic roles & 50–950 ramp

primary
#ECDB97
secondary
#6074C8
accent
#3AD114
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECDB97

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

Preview Lab → · Contrast checker → · Palette generator →

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