#ECD479#ECD479

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

Color values

HEX#ECD479
RGBrgb(236, 212, 121)
HSLhsl(47, 75%, 70%)
HSVhsv(47, 49%, 93%)
CMYKcmyk(0%, 10.2%, 48.7%, 7.5%)
CIE-LABlab(85.15, -3.32, 47.76)
CIE-LCHlch(85.15, 47.88, 93.98°)
OKLaboklab(87.09% -0.01 0.1142)
OKLCHoklch(87.09% 0.115 95)
XYZxyz(61.5887, 66.3028, 27.6390)
Luminance0.6630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD479 #7991EC
analogous
#EC9A79 #ECD479 #CBEC79
triadic
#ECD479 #79ECD4 #D479EC
tetradic
#ECD479 #79EC9A #7991EC #EC79CB
square
#ECD479 #79EC9A #7991EC #EC79CB
split-complementary
#ECD479 #79CBEC #9A79EC
monochromatic
#CDA91D #E4C343 #ECD479 #F4E5AF #FBF6E4

Accessibility & contrast

On white

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

On black

14.26
#ECD479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD479
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD479#FFFFFF#000000##000000
##ECD4791.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D071
Deuteranopia (green-blind)
#EBD87D
Tritanopia (blue-blind)
#FBC8BE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd479;
/* rgb */ color: rgb(236, 212, 121);
/* oklch */ color: oklch(87.1% 0.115 95.0);
Tailwind
colors: {
  custom: {
    50: '#f4e1a1',
    500: '#ecd479',
    950: '#000000',
  },
}
SCSS
$custom: #ecd479;
$custom-light: #f4e1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd479",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 121
  },
  "hsl": {
    "h": 47.478,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.87089,
    "c": 0.11463,
    "h": 95
  },
  "luminance": 0.663
}

Semantic roles & 50–950 ramp

primary
#ECD479
secondary
#445FC5
accent
#38D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD479

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

Preview Lab → · Contrast checker → · Palette generator →

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