#ECD994#ECD994

#ECD994 is a very light, moderate yellow. Relative luminance 0.696; OKLCH L 88.5% C 0.090 H 94.6°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#ECD994
RGBrgb(236, 217, 148)
HSLhsl(47, 70%, 75%)
HSVhsv(47, 37%, 93%)
CMYKcmyk(0%, 8.1%, 37.3%, 7.5%)
CIE-LABlab(86.80, -3.15, 36.39)
CIE-LCHlch(86.80, 36.52, 94.95°)
OKLaboklab(88.52% -0.0071 0.0898)
OKLCHoklch(88.52% 0.09 94.6)
XYZxyz(64.7514, 69.5988, 38.0343)
Luminance0.6960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD994 #94A7EC
analogous
#ECAD94 #ECD994 #D3EC94
triadic
#ECD994 #94ECD9 #D994EC
tetradic
#ECD994 #94ECAD #94A7EC #EC94D3
square
#ECD994 #94ECAD #94A7EC #EC94D3
split-complementary
#ECD994 #94D3EC #AD94EC
monochromatic
#DAB42C #E3C760 #ECD994 #F5EBC8 #FAF6E5

Accessibility & contrast

On white

1.41
#ECD994 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.92
#ECD994 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD994
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD994#FFFFFF#000000##000000
##ECD9941.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D68F
Deuteranopia (green-blind)
#ECDC96
Tritanopia (blue-blind)
#F9CFC7
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecd994;
/* rgb */ color: rgb(236, 217, 148);
/* oklch */ color: oklch(88.5% 0.090 94.6);
Tailwind
colors: {
  custom: {
    50: '#f3e4b4',
    500: '#ecd994',
    950: '#000000',
  },
}
SCSS
$custom: #ecd994;
$custom-light: #f3e4b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd994",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 148
  },
  "hsl": {
    "h": 47.045,
    "s": 69.841,
    "l": 75.294
  },
  "oklch": {
    "l": 0.88515,
    "c": 0.09012,
    "h": 94.6
  },
  "luminance": 0.69597
}

Semantic roles & 50–950 ramp

primary
#ECD994
secondary
#5D74C7
accent
#3DD214
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECD994

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

Preview Lab → · Contrast checker → · Palette generator →

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