#ECDA58#ECDA58

#ECDA58 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 87.9% C 0.149 H 101.4°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#ECDA58
RGBrgb(236, 218, 88)
HSLhsl(53, 80%, 64%)
HSVhsv(53, 63%, 93%)
CMYKcmyk(0%, 7.6%, 62.7%, 7.5%)
CIE-LABlab(86.35, -8.86, 64.21)
CIE-LCHlch(86.35, 64.81, 97.85°)
OKLaboklab(87.93% -0.0295 0.1461)
OKLCHoklch(87.93% 0.149 101.4)
XYZxyz(61.4274, 68.6828, 19.2521)
Luminance0.6868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDA58 #586AEC
analogous
#EC9058 #ECDA58 #B4EC58
triadic
#ECDA58 #58ECDA #DA58EC
tetradic
#ECDA58 #58EC90 #586AEC #EC58B4
square
#ECDA58 #58EC90 #586AEC #EC58B4
split-complementary
#ECDA58 #58B4EC #9058EC
monochromatic
#B5A115 #E6CE21 #ECDA58 #F2E68F #F9F2C6

Accessibility & contrast

On white

1.43
#ECDA58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#ECDA58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDA58
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDA58#FFFFFF#000000##000000
##ECDA581.001.4314.7414.74
#FFFFFF1.431.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD448
Deuteranopia (green-blind)
#F2DB5F
Tritanopia (blue-blind)
#FDCCBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecda58;
/* rgb */ color: rgb(236, 218, 88);
/* oklch */ color: oklch(87.9% 0.149 101.4);
Tailwind
colors: {
  custom: {
    50: '#f5e58d',
    500: '#ecda58',
    950: '#000000',
  },
}
SCSS
$custom: #ecda58;
$custom-light: #f5e58d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecda58",
  "rgb": {
    "r": 236,
    "g": 218,
    "b": 88
  },
  "hsl": {
    "h": 52.703,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.87927,
    "c": 0.1491,
    "h": 101.4
  },
  "luminance": 0.6868
}

Semantic roles & 50–950 ramp

primary
#ECDA58
secondary
#3343B5
accent
#23DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECDA58

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

Preview Lab → · Contrast checker → · Palette generator →

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