#ECDD95#ECDD95

#ECDD95 is a very light, moderate yellow. Relative luminance 0.717; OKLCH L 89.3% C 0.093 H 97.8°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#ECDD95
RGBrgb(236, 221, 149)
HSLhsl(50, 70%, 75%)
HSVhsv(50, 37%, 93%)
CMYKcmyk(0%, 6.4%, 36.9%, 7.5%)
CIE-LABlab(87.83, -5.07, 37.23)
CIE-LCHlch(87.83, 37.57, 97.76°)
OKLaboklab(89.34% -0.0126 0.0918)
OKLCHoklch(89.34% 0.093 97.8)
XYZxyz(65.8745, 71.7176, 38.8008)
Luminance0.7172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDD95 #95A4EC
analogous
#ECB195 #ECDD95 #CFEC95
triadic
#ECDD95 #95ECDD #DD95EC
tetradic
#ECDD95 #95ECB1 #95A4EC #EC95CF
square
#ECDD95 #95ECB1 #95A4EC #EC95CF
split-complementary
#ECDD95 #95CFEC #B195EC
monochromatic
#D9BC2D #E3CC61 #ECDD95 #F5EEC9 #FAF7E5

Accessibility & contrast

On white

1.37
#ECDD95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.34
#ECDD95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDD95
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDD95#FFFFFF#000000##000000
##ECDD951.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD990
Deuteranopia (green-blind)
#EFDF98
Tritanopia (blue-blind)
#F9D3CB
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ecdd95;
/* rgb */ color: rgb(236, 221, 149);
/* oklch */ color: oklch(89.3% 0.093 97.8);
Tailwind
colors: {
  custom: {
    50: '#f3e7b5',
    500: '#ecdd95',
    950: '#000000',
  },
}
SCSS
$custom: #ecdd95;
$custom-light: #f3e7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdd95",
  "rgb": {
    "r": 236,
    "g": 221,
    "b": 149
  },
  "hsl": {
    "h": 49.655,
    "s": 69.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.89336,
    "c": 0.0927,
    "h": 97.8
  },
  "luminance": 0.71716
}

Semantic roles & 50–950 ramp

primary
#ECDD95
secondary
#5E70C7
accent
#35D214
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #ECDD95

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

Preview Lab → · Contrast checker → · Palette generator →

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