#ECDD94#ECDD94

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

Color values

HEX#ECDD94
RGBrgb(236, 221, 148)
HSLhsl(50, 70%, 75%)
HSVhsv(50, 37%, 93%)
CMYKcmyk(0%, 6.4%, 37.3%, 7.5%)
CIE-LABlab(87.82, -5.18, 37.71)
CIE-LCHlch(87.82, 38.07, 97.83°)
OKLaboklab(89.32% -0.013 0.0929)
OKLCHoklch(89.32% 0.094 98)
XYZxyz(65.7950, 71.6858, 38.3821)
Luminance0.7168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDD94 #94A3EC
analogous
#ECB194 #ECDD94 #CFEC94
triadic
#ECDD94 #94ECDD #DD94EC
tetradic
#ECDD94 #94ECB1 #94A3EC #EC94CF
square
#ECDD94 #94ECB1 #94A3EC #EC94CF
split-complementary
#ECDD94 #94CFEC #B194EC
monochromatic
#DABC2C #E3CC60 #ECDD94 #F5EEC8 #FAF7E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECDD94#FFFFFF#000000##000000
##ECDD941.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)
#EBD98F
Deuteranopia (green-blind)
#EFDF97
Tritanopia (blue-blind)
#F9D3CA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ecdd94;
/* rgb */ color: rgb(236, 221, 148);
/* oklch */ color: oklch(89.3% 0.094 98.0);
Tailwind
colors: {
  custom: {
    50: '#f3e7b4',
    500: '#ecdd94',
    950: '#000000',
  },
}
SCSS
$custom: #ecdd94;
$custom-light: #f3e7b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdd94",
  "rgb": {
    "r": 236,
    "g": 221,
    "b": 148
  },
  "hsl": {
    "h": 49.773,
    "s": 69.841,
    "l": 75.294
  },
  "oklch": {
    "l": 0.89319,
    "c": 0.09383,
    "h": 98
  },
  "luminance": 0.71684
}

Semantic roles & 50–950 ramp

primary
#ECDD94
secondary
#5D6FC7
accent
#34D214
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #ECDD94

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

Preview Lab → · Contrast checker → · Palette generator →

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