#ECDB98#ECDB98

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

Color values

HEX#ECDB98
RGBrgb(236, 219, 152)
HSLhsl(48, 69%, 76%)
HSVhsv(48, 36%, 93%)
CMYKcmyk(0%, 7.2%, 35.6%, 7.5%)
CIE-LABlab(87.37, -3.71, 35.10)
CIE-LCHlch(87.37, 35.30, 96.04°)
OKLaboklab(88.99% -0.0085 0.087)
OKLCHoklch(88.99% 0.087 95.6)
XYZxyz(65.5922, 70.7648, 39.9035)
Luminance0.7076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB98 #98A9EC
analogous
#ECB198 #ECDB98 #D3EC98
triadic
#ECDB98 #98ECDB #DB98EC
tetradic
#ECDB98 #98ECB1 #98A9EC #EC98D3
square
#ECDB98 #98ECB1 #98A9EC #EC98D3
split-complementary
#ECDB98 #98D3EC #B198EC
monochromatic
#D9B731 #E2C964 #ECDB98 #F6EDCC #FAF6E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECDB98#FFFFFF#000000##000000
##ECDB981.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)
#E8D893
Deuteranopia (green-blind)
#EDDD9A
Tritanopia (blue-blind)
#F8D1CA
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecdb98;
/* rgb */ color: rgb(236, 219, 152);
/* oklch */ color: oklch(89.0% 0.087 95.6);
Tailwind
colors: {
  custom: {
    50: '#f3e6b7',
    500: '#ecdb98',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb98;
$custom-light: #f3e6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb98",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 152
  },
  "hsl": {
    "h": 47.857,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.88987,
    "c": 0.08741,
    "h": 95.6
  },
  "luminance": 0.70763
}

Semantic roles & 50–950 ramp

primary
#ECDB98
secondary
#6175C8
accent
#3BD115
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECDB98

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

Preview Lab → · Contrast checker → · Palette generator →

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