#ECD578#ECD578

#ECD578 is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 87.3% C 0.116 H 95.8°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#ECD578
RGBrgb(236, 213, 120)
HSLhsl(48, 75%, 70%)
HSVhsv(48, 49%, 93%)
CMYKcmyk(0%, 9.7%, 49.2%, 7.5%)
CIE-LABlab(85.39, -3.92, 48.54)
CIE-LCHlch(85.39, 48.70, 94.62°)
OKLaboklab(87.28% -0.0118 0.1158)
OKLCHoklch(87.28% 0.116 95.8)
XYZxyz(61.7785, 66.7799, 27.4013)
Luminance0.6678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD578 #788FEC
analogous
#EC9B78 #ECD578 #C9EC78
triadic
#ECD578 #78ECD5 #D578EC
tetradic
#ECD578 #78EC9B #788FEC #EC78C9
square
#ECD578 #78EC9B #788FEC #EC78C9
split-complementary
#ECD578 #78C9EC #9B78EC
monochromatic
#CDAA1D #E4C442 #ECD578 #F4E6AE #FBF6E3

Accessibility & contrast

On white

1.46
#ECD578 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.36
#ECD578 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD578
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD578#FFFFFF#000000##000000
##ECD5781.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D170
Deuteranopia (green-blind)
#ECD97C
Tritanopia (blue-blind)
#FBC9BF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd578;
/* rgb */ color: rgb(236, 213, 120);
/* oklch */ color: oklch(87.3% 0.116 95.8);
Tailwind
colors: {
  custom: {
    50: '#f4e1a1',
    500: '#ecd578',
    950: '#000000',
  },
}
SCSS
$custom: #ecd578;
$custom-light: #f4e1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd578",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 120
  },
  "hsl": {
    "h": 48.103,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.87276,
    "c": 0.11644,
    "h": 95.8
  },
  "luminance": 0.66777
}

Semantic roles & 50–950 ramp

primary
#ECD578
secondary
#435DC5
accent
#36D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD578

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

Preview Lab → · Contrast checker → · Palette generator →

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