#ECD178#ECD178

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

Color values

HEX#ECD178
RGBrgb(236, 209, 120)
HSLhsl(46, 75%, 70%)
HSVhsv(46, 49%, 93%)
CMYKcmyk(0%, 11.4%, 49.2%, 7.5%)
CIE-LABlab(84.38, -1.88, 47.30)
CIE-LCHlch(84.38, 47.34, 92.27°)
OKLaboklab(86.47% -0.0059 0.1131)
OKLCHoklch(86.47% 0.113 93)
XYZxyz(60.7847, 64.7925, 27.0701)
Luminance0.6479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD178 #7893EC
analogous
#EC9778 #ECD178 #CDEC78
triadic
#ECD178 #78ECD1 #D178EC
tetradic
#ECD178 #78EC97 #7893EC #EC78CD
square
#ECD178 #78EC97 #7893EC #EC78CD
split-complementary
#ECD178 #78CDEC #9778EC
monochromatic
#CDA41D #E4BF42 #ECD178 #F4E3AE #FBF6E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD178#FFFFFF#000000##000000
##ECD1781.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)
#E2CE71
Deuteranopia (green-blind)
#E9D67B
Tritanopia (blue-blind)
#FCC5BC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ecd178;
/* rgb */ color: rgb(236, 209, 120);
/* oklch */ color: oklch(86.5% 0.113 93.0);
Tailwind
colors: {
  custom: {
    50: '#f4dea1',
    500: '#ecd178',
    950: '#000000',
  },
}
SCSS
$custom: #ecd178;
$custom-light: #f4dea1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd178",
  "rgb": {
    "r": 236,
    "g": 209,
    "b": 120
  },
  "hsl": {
    "h": 46.034,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.86473,
    "c": 0.11324,
    "h": 93
  },
  "luminance": 0.6479
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECD178

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

Preview Lab → · Contrast checker → · Palette generator →

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