#ECD576#ECD576

#ECD576 is a very light, moderate yellow. Relative luminance 0.667; OKLCH L 87.2% C 0.118 H 96.1°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#ECD576
RGBrgb(236, 213, 118)
HSLhsl(48, 76%, 69%)
HSVhsv(48, 50%, 93%)
CMYKcmyk(0%, 9.7%, 50%, 7.5%)
CIE-LABlab(85.37, -4.10, 49.48)
CIE-LCHlch(85.37, 49.65, 94.74°)
OKLaboklab(87.25% -0.0125 0.1178)
OKLCHoklch(87.25% 0.118 96.1)
XYZxyz(61.6583, 66.7319, 26.7687)
Luminance0.6673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD576 #768DEC
analogous
#EC9A76 #ECD576 #C8EC76
triadic
#ECD576 #76ECD5 #D576EC
tetradic
#ECD576 #76EC9A #768DEC #EC76C8
square
#ECD576 #76EC9A #768DEC #EC76C8
split-complementary
#ECD576 #76C8EC #9A76EC
monochromatic
#CBA91C #E5C540 #ECD576 #F3E5AC #FBF6E1

Accessibility & contrast

On white

1.46
#ECD576 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#ECD576 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD576
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD576#FFFFFF#000000##000000
##ECD5761.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D16E
Deuteranopia (green-blind)
#ECD97A
Tritanopia (blue-blind)
#FCC8BF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd576;
/* rgb */ color: rgb(236, 213, 118);
/* oklch */ color: oklch(87.2% 0.118 96.1);
Tailwind
colors: {
  custom: {
    50: '#f4e19f',
    500: '#ecd576',
    950: '#000000',
  },
}
SCSS
$custom: #ecd576;
$custom-light: #f4e19f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd576",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 118
  },
  "hsl": {
    "h": 48.305,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.87249,
    "c": 0.11842,
    "h": 96.1
  },
  "luminance": 0.66729
}

Semantic roles & 50–950 ramp

primary
#ECD576
secondary
#415BC5
accent
#35D80E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD576

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

Preview Lab → · Contrast checker → · Palette generator →

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