#ECD477#ECD477

#ECD477 is a very light, moderate yellow. Relative luminance 0.663; OKLCH L 87.1% C 0.117 H 95.3°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#ECD477
RGBrgb(236, 212, 119)
HSLhsl(48, 75%, 70%)
HSVhsv(48, 50%, 93%)
CMYKcmyk(0%, 10.2%, 49.6%, 7.5%)
CIE-LABlab(85.13, -3.50, 48.70)
CIE-LCHlch(85.13, 48.83, 94.11°)
OKLaboklab(87.06% -0.0107 0.1161)
OKLCHoklch(87.06% 0.117 95.3)
XYZxyz(61.4673, 66.2543, 26.9998)
Luminance0.6625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD477 #778FEC
analogous
#EC9977 #ECD477 #CAEC77
triadic
#ECD477 #77ECD4 #D477EC
tetradic
#ECD477 #77EC99 #778FEC #EC77CA
square
#ECD477 #77EC99 #778FEC #EC77CA
split-complementary
#ECD477 #77CAEC #9977EC
monochromatic
#CCA81D #E4C341 #ECD477 #F4E5AD #FBF6E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD477#FFFFFF#000000##000000
##ECD4771.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)
#E5D06F
Deuteranopia (green-blind)
#EBD87B
Tritanopia (blue-blind)
#FCC7BE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd477;
/* rgb */ color: rgb(236, 212, 119);
/* oklch */ color: oklch(87.1% 0.117 95.3);
Tailwind
colors: {
  custom: {
    50: '#f4e1a0',
    500: '#ecd477',
    950: '#000000',
  },
}
SCSS
$custom: #ecd477;
$custom-light: #f4e1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd477",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 119
  },
  "hsl": {
    "h": 47.692,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.87061,
    "c": 0.1166,
    "h": 95.3
  },
  "luminance": 0.66252
}

Semantic roles & 50–950 ramp

primary
#ECD477
secondary
#425DC5
accent
#37D80E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD477

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

Preview Lab → · Contrast checker → · Palette generator →

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