#ECD992#ECD992

#ECD992 is a very light, moderate yellow. Relative luminance 0.695; OKLCH L 88.5% C 0.092 H 94.9°. Best body text is #000000 at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#ECD992
RGBrgb(236, 217, 146)
HSLhsl(47, 70%, 75%)
HSVhsv(47, 38%, 93%)
CMYKcmyk(0%, 8.1%, 38.1%, 7.5%)
CIE-LABlab(86.77, -3.37, 37.36)
CIE-LCHlch(86.77, 37.51, 95.16°)
OKLaboklab(88.48% -0.0079 0.092)
OKLCHoklch(88.48% 0.092 94.9)
XYZxyz(64.5945, 69.5360, 37.2077)
Luminance0.6953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD992 #92A5EC
analogous
#ECAC92 #ECD992 #D2EC92
triadic
#ECD992 #92ECD9 #D992EC
tetradic
#ECD992 #92ECAC #92A5EC #EC92D2
square
#ECD992 #92ECAC #92A5EC #EC92D2
split-complementary
#ECD992 #92D2EC #AC92EC
monochromatic
#DAB52A #E3C75E #ECD992 #F5EBC6 #FAF6E5

Accessibility & contrast

On white

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

On black

14.91
#ECD992 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD992
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD992#FFFFFF#000000##000000
##ECD9921.001.4114.9114.91
#FFFFFF1.411.0021.0021.00
#00000014.9121.001.001.00
##00000014.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd992;
/* rgb */ color: rgb(236, 217, 146);
/* oklch */ color: oklch(88.5% 0.092 94.9);
Tailwind
colors: {
  custom: {
    50: '#f3e4b2',
    500: '#ecd992',
    950: '#000000',
  },
}
SCSS
$custom: #ecd992;
$custom-light: #f3e4b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd992",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 146
  },
  "hsl": {
    "h": 47.333,
    "s": 70.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.88481,
    "c": 0.09237,
    "h": 94.9
  },
  "luminance": 0.69534
}

Semantic roles & 50–950 ramp

primary
#ECD992
secondary
#5B72C7
accent
#3CD213
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECD992

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

Preview Lab → · Contrast checker → · Palette generator →

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