#ECDE59#ECDE59

#ECDE59 is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.8% C 0.152 H 103.3°. Best body text is #000000 at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#ECDE59
RGBrgb(236, 222, 89)
HSLhsl(54, 79%, 64%)
HSVhsv(54, 62%, 93%)
CMYKcmyk(0%, 5.9%, 62.3%, 7.5%)
CIE-LABlab(87.39, -10.80, 64.90)
CIE-LCHlch(87.39, 65.80, 99.44°)
OKLaboklab(88.76% -0.0349 0.1478)
OKLCHoklch(88.76% 0.152 103.3)
XYZxyz(62.5189, 70.7991, 19.8217)
Luminance0.7080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDE59 #5967EC
analogous
#EC9459 #ECDE59 #B0EC59
triadic
#ECDE59 #59ECDE #DE59EC
tetradic
#ECDE59 #59EC94 #5967EC #EC59B0
square
#ECDE59 #59EC94 #5967EC #EC59B0
split-complementary
#ECDE59 #59B0EC #9459EC
monochromatic
#B6A615 #E6D322 #ECDE59 #F2E990 #F9F4C7

Accessibility & contrast

On white

1.39
#ECDE59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.16
#ECDE59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDE59
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDE59#FFFFFF#000000##000000
##ECDE591.001.3915.1615.16
#FFFFFF1.391.0021.0021.00
#00000015.1621.001.001.00
##00000015.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D749
Deuteranopia (green-blind)
#F5DE60
Tritanopia (blue-blind)
#FDD0C2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecde59;
/* rgb */ color: rgb(236, 222, 89);
/* oklch */ color: oklch(88.8% 0.152 103.3);
Tailwind
colors: {
  custom: {
    50: '#f5e88d',
    500: '#ecde59',
    950: '#000000',
  },
}
SCSS
$custom: #ecde59;
$custom-light: #f5e88d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecde59",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 89
  },
  "hsl": {
    "h": 54.286,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.88756,
    "c": 0.15184,
    "h": 103.3
  },
  "luminance": 0.70797
}

Semantic roles & 50–950 ramp

primary
#ECDE59
secondary
#3440B5
accent
#1EDC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #ECDE59

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

Preview Lab → · Contrast checker → · Palette generator →

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