#ECD458#ECD458

#ECD458 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.7% C 0.144 H 98.3°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#ECD458
RGBrgb(236, 212, 88)
HSLhsl(50, 80%, 64%)
HSVhsv(50, 63%, 93%)
CMYKcmyk(0%, 10.2%, 62.7%, 7.5%)
CIE-LABlab(84.81, -5.83, 62.55)
CIE-LCHlch(84.81, 62.82, 95.32°)
OKLaboklab(86.71% -0.0209 0.1426)
OKLCHoklch(86.71% 0.144 98.3)
XYZxyz(59.8996, 65.6271, 18.7428)
Luminance0.6562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD458 #5870EC
analogous
#EC8A58 #ECD458 #BAEC58
triadic
#ECD458 #58ECD4 #D458EC
tetradic
#ECD458 #58EC8A #5870EC #EC58BA
square
#ECD458 #58EC8A #5870EC #EC58BA
split-complementary
#ECD458 #58BAEC #8A58EC
monochromatic
#B59B15 #E6C621 #ECD458 #F2E28F #F9F0C6

Accessibility & contrast

On white

1.49
#ECD458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#ECD458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD458
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD458#FFFFFF#000000##000000
##ECD4581.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4A
Deuteranopia (green-blind)
#EED75E
Tritanopia (blue-blind)
#FDC5BA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd458;
/* rgb */ color: rgb(236, 212, 88);
/* oklch */ color: oklch(86.7% 0.144 98.3);
Tailwind
colors: {
  custom: {
    50: '#f5e08c',
    500: '#ecd458',
    950: '#000000',
  },
}
SCSS
$custom: #ecd458;
$custom-light: #f5e08c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd458",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 88
  },
  "hsl": {
    "h": 50.27,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.86705,
    "c": 0.14415,
    "h": 98.3
  },
  "luminance": 0.65624
}

Semantic roles & 50–950 ramp

primary
#ECD458
secondary
#3348B5
accent
#2CDC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD458

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

Preview Lab → · Contrast checker → · Palette generator →

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