#ECD476#ECD476

#ECD476 is a very light, moderate yellow. Relative luminance 0.662; OKLCH L 87.0% C 0.118 H 95.4°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#ECD476
RGBrgb(236, 212, 118)
HSLhsl(48, 76%, 69%)
HSVhsv(48, 50%, 93%)
CMYKcmyk(0%, 10.2%, 50%, 7.5%)
CIE-LABlab(85.11, -3.59, 49.17)
CIE-LCHlch(85.11, 49.30, 94.17°)
OKLaboklab(87.05% -0.0111 0.1171)
OKLCHoklch(87.05% 0.118 95.4)
XYZxyz(61.4076, 66.2304, 26.6851)
Luminance0.6623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD476 #768EEC
analogous
#EC9976 #ECD476 #C9EC76
triadic
#ECD476 #76ECD4 #D476EC
tetradic
#ECD476 #76EC99 #768EEC #EC76C9
square
#ECD476 #76EC99 #768EEC #EC76C9
split-complementary
#ECD476 #76C9EC #9976EC
monochromatic
#CBA81C #E5C340 #ECD476 #F3E5AC #FBF6E1

Accessibility & contrast

On white

1.47
#ECD476 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#ECD476 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD476
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD476#FFFFFF#000000##000000
##ECD4761.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D06E
Deuteranopia (green-blind)
#EBD87A
Tritanopia (blue-blind)
#FCC7BE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd476;
/* rgb */ color: rgb(236, 212, 118);
/* oklch */ color: oklch(87.0% 0.118 95.4);
Tailwind
colors: {
  custom: {
    50: '#f4e19f',
    500: '#ecd476',
    950: '#000000',
  },
}
SCSS
$custom: #ecd476;
$custom-light: #f4e19f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd476",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 118
  },
  "hsl": {
    "h": 47.797,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.87048,
    "c": 0.11759,
    "h": 95.4
  },
  "luminance": 0.66228
}

Semantic roles & 50–950 ramp

primary
#ECD476
secondary
#415CC5
accent
#37D80E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD476

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

Preview Lab → · Contrast checker → · Palette generator →

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