#ECD879#ECD879

#ECD879 is a very light, moderate yellow. Relative luminance 0.683; OKLCH L 87.9% C 0.118 H 97.7°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#ECD879
RGBrgb(236, 216, 121)
HSLhsl(50, 75%, 70%)
HSVhsv(50, 49%, 93%)
CMYKcmyk(0%, 8.5%, 48.7%, 7.5%)
CIE-LABlab(86.17, -5.36, 49.01)
CIE-LCHlch(86.17, 49.30, 96.24°)
OKLaboklab(87.9% -0.0159 0.1169)
OKLCHoklch(87.9% 0.118 97.7)
XYZxyz(62.6010, 68.3274, 27.9764)
Luminance0.6833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD879 #798DEC
analogous
#EC9E79 #ECD879 #C7EC79
triadic
#ECD879 #79ECD8 #D879EC
tetradic
#ECD879 #79EC9E #798DEC #EC79C7
square
#ECD879 #79EC9E #798DEC #EC79C7
split-complementary
#ECD879 #79C7EC #9E79EC
monochromatic
#CDAF1D #E4C843 #ECD879 #F4E8AF #FBF7E4

Accessibility & contrast

On white

1.43
#ECD879 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.67
#ECD879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD879
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD879#FFFFFF#000000##000000
##ECD8791.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D471
Deuteranopia (green-blind)
#EEDB7D
Tritanopia (blue-blind)
#FBCCC2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecd879;
/* rgb */ color: rgb(236, 216, 121);
/* oklch */ color: oklch(87.9% 0.118 97.7);
Tailwind
colors: {
  custom: {
    50: '#f4e3a1',
    500: '#ecd879',
    950: '#000000',
  },
}
SCSS
$custom: #ecd879;
$custom-light: #f4e3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd879",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 121
  },
  "hsl": {
    "h": 49.565,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.87895,
    "c": 0.11801,
    "h": 97.7
  },
  "luminance": 0.68325
}

Semantic roles & 50–950 ramp

primary
#ECD879
secondary
#445BC5
accent
#31D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD879

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

Preview Lab → · Contrast checker → · Palette generator →

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