#ECD179#ECD179

#ECD179 is a very light, moderate yellow. Relative luminance 0.648; OKLCH L 86.5% C 0.112 H 92.8°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#ECD179
RGBrgb(236, 209, 121)
HSLhsl(46, 75%, 70%)
HSVhsv(46, 49%, 93%)
CMYKcmyk(0%, 11.4%, 48.7%, 7.5%)
CIE-LABlab(84.39, -1.79, 46.83)
CIE-LCHlch(84.39, 46.86, 92.19°)
OKLaboklab(86.49% -0.0055 0.1121)
OKLCHoklch(86.49% 0.112 92.8)
XYZxyz(60.8457, 64.8169, 27.3913)
Luminance0.6481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD179 #7994EC
analogous
#EC9879 #ECD179 #CDEC79
triadic
#ECD179 #79ECD1 #D179EC
tetradic
#ECD179 #79EC98 #7994EC #EC79CD
square
#ECD179 #79EC98 #7994EC #EC79CD
split-complementary
#ECD179 #79CDEC #9879EC
monochromatic
#CDA41D #E4BF43 #ECD179 #F4E3AF #FBF6E4

Accessibility & contrast

On white

1.50
#ECD179 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#ECD179 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD179
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD179#FFFFFF#000000##000000
##ECD1791.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CE72
Deuteranopia (green-blind)
#E9D67C
Tritanopia (blue-blind)
#FCC5BC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ecd179;
/* rgb */ color: rgb(236, 209, 121);
/* oklch */ color: oklch(86.5% 0.112 92.8);
Tailwind
colors: {
  custom: {
    50: '#f4dea1',
    500: '#ecd179',
    950: '#000000',
  },
}
SCSS
$custom: #ecd179;
$custom-light: #f4dea1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd179",
  "rgb": {
    "r": 236,
    "g": 209,
    "b": 121
  },
  "hsl": {
    "h": 45.913,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.86487,
    "c": 0.11225,
    "h": 92.8
  },
  "luminance": 0.64814
}

Semantic roles & 50–950 ramp

primary
#ECD179
secondary
#4462C5
accent
#3DD70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD179

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

Preview Lab → · Contrast checker → · Palette generator →

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