#ECDA59#ECDA59

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

Color values

HEX#ECDA59
RGBrgb(236, 218, 89)
HSLhsl(53, 79%, 64%)
HSVhsv(53, 62%, 93%)
CMYKcmyk(0%, 7.6%, 62.3%, 7.5%)
CIE-LABlab(86.36, -8.79, 63.79)
CIE-LCHlch(86.36, 64.40, 97.85°)
OKLaboklab(87.94% -0.0292 0.1454)
OKLCHoklch(87.94% 0.148 101.4)
XYZxyz(61.4691, 68.6995, 19.4717)
Luminance0.6870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDA59 #596BEC
analogous
#EC9059 #ECDA59 #B4EC59
triadic
#ECDA59 #59ECDA #DA59EC
tetradic
#ECDA59 #59EC90 #596BEC #EC59B4
square
#ECDA59 #59EC90 #596BEC #EC59B4
split-complementary
#ECDA59 #59B4EC #9059EC
monochromatic
#B6A215 #E6CE22 #ECDA59 #F2E690 #F9F2C7

Accessibility & contrast

On white

1.42
#ECDA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECDA59#FFFFFF#000000##000000
##ECDA591.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecda59;
/* rgb */ color: rgb(236, 218, 89);
/* oklch */ color: oklch(87.9% 0.148 101.4);
Tailwind
colors: {
  custom: {
    50: '#f5e58d',
    500: '#ecda59',
    950: '#000000',
  },
}
SCSS
$custom: #ecda59;
$custom-light: #f5e58d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecda59",
  "rgb": {
    "r": 236,
    "g": 218,
    "b": 89
  },
  "hsl": {
    "h": 52.653,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.87936,
    "c": 0.14832,
    "h": 101.4
  },
  "luminance": 0.68697
}

Semantic roles & 50–950 ramp

primary
#ECDA59
secondary
#3444B5
accent
#23DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECDA59

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

Preview Lab → · Contrast checker → · Palette generator →

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