#ECD058#ECD058

#ECD058 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.9% C 0.141 H 96.1°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#ECD058
RGBrgb(236, 208, 88)
HSLhsl(49, 80%, 64%)
HSVhsv(49, 63%, 93%)
CMYKcmyk(0%, 11.9%, 62.7%, 7.5%)
CIE-LABlab(83.78, -3.80, 61.44)
CIE-LCHlch(83.78, 61.56, 93.53°)
OKLaboklab(85.9% -0.015 0.1403)
OKLCHoklch(85.9% 0.141 96.1)
XYZxyz(58.9120, 63.6521, 18.4136)
Luminance0.6365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD058 #5874EC
analogous
#EC8658 #ECD058 #BEEC58
triadic
#ECD058 #58ECD0 #D058EC
tetradic
#ECD058 #58EC86 #5874EC #EC58BE
square
#ECD058 #58EC86 #5874EC #EC58BE
split-complementary
#ECD058 #58BEEC #8658EC
monochromatic
#B59715 #E6C121 #ECD058 #F2DF8F #F9EFC6

Accessibility & contrast

On white

1.53
#ECD058 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#ECD058 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD058
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD058#FFFFFF#000000##000000
##ECD0581.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC4A
Deuteranopia (green-blind)
#EBD55E
Tritanopia (blue-blind)
#FEC1B6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ecd058;
/* rgb */ color: rgb(236, 208, 88);
/* oklch */ color: oklch(85.9% 0.141 96.1);
Tailwind
colors: {
  custom: {
    50: '#f5de8c',
    500: '#ecd058',
    950: '#000000',
  },
}
SCSS
$custom: #ecd058;
$custom-light: #f5de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd058",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 88
  },
  "hsl": {
    "h": 48.649,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.85896,
    "c": 0.14109,
    "h": 96.1
  },
  "luminance": 0.63649
}

Semantic roles & 50–950 ramp

primary
#ECD058
secondary
#334CB5
accent
#31DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD058

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

Preview Lab → · Contrast checker → · Palette generator →

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