#ECCD58#ECCD58

#ECCD58 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.3% C 0.139 H 94.4°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#ECCD58
RGBrgb(236, 205, 88)
HSLhsl(47, 80%, 64%)
HSVhsv(47, 63%, 93%)
CMYKcmyk(0%, 13.1%, 62.7%, 7.5%)
CIE-LABlab(83.02, -2.26, 60.61)
CIE-LCHlch(83.02, 60.65, 92.14°)
OKLaboklab(85.29% -0.0106 0.1385)
OKLCHoklch(85.29% 0.139 94.4)
XYZxyz(58.1875, 62.2030, 18.1721)
Luminance0.6220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCD58 #5877EC
analogous
#EC8358 #ECCD58 #C1EC58
triadic
#ECCD58 #58ECCD #CD58EC
tetradic
#ECCD58 #58EC83 #5877EC #EC58C1
square
#ECCD58 #58EC83 #5877EC #EC58C1
split-complementary
#ECCD58 #58C1EC #8358EC
monochromatic
#B59315 #E6BD21 #ECCD58 #F2DD8F #F9EEC6

Accessibility & contrast

On white

1.56
#ECCD58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#ECCD58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCD58
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCD58#FFFFFF#000000##000000
##ECCD581.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C94B
Deuteranopia (green-blind)
#E9D35E
Tritanopia (blue-blind)
#FEBEB4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #eccd58;
/* rgb */ color: rgb(236, 205, 88);
/* oklch */ color: oklch(85.3% 0.139 94.4);
Tailwind
colors: {
  custom: {
    50: '#f5db8c',
    500: '#eccd58',
    950: '#000000',
  },
}
SCSS
$custom: #eccd58;
$custom-light: #f5db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#eccd58",
  "rgb": {
    "r": 236,
    "g": 205,
    "b": 88
  },
  "hsl": {
    "h": 47.432,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.85293,
    "c": 0.13892,
    "h": 94.4
  },
  "luminance": 0.622
}

Semantic roles & 50–950 ramp

primary
#ECCD58
secondary
#334FB5
accent
#36DC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECCD58

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

Preview Lab → · Contrast checker → · Palette generator →

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