#ECDB39#ECDB39

#ECDB39 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.9% C 0.170 H 103.1°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#ECDB39
RGBrgb(236, 219, 57)
HSLhsl(54, 82%, 57%)
HSVhsv(54, 76%, 93%)
CMYKcmyk(0%, 7.2%, 75.8%, 7.5%)
CIE-LABlab(86.40, -10.89, 75.72)
CIE-LCHlch(86.40, 76.50, 98.18°)
OKLaboklab(87.91% -0.0384 0.1653)
OKLCHoklch(87.91% 0.17 103.1)
XYZxyz(60.6649, 68.7939, 13.9532)
Luminance0.6879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDB39 #394AEC
analogous
#EC8239 #ECDB39 #A3EC39
triadic
#ECDB39 #39ECDB #DB39EC
tetradic
#ECDB39 #39EC82 #394AEC #EC39A3
square
#ECDB39 #39EC82 #394AEC #EC39A3
split-complementary
#ECDB39 #39A3EC #8239EC
monochromatic
#9C8E0F #D4C114 #ECDB39 #F1E571 #F7EFA9

Accessibility & contrast

On white

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

On black

14.76
#ECDB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDB39
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDB39#FFFFFF#000000##000000
##ECDB391.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD411
Deuteranopia (green-blind)
#F4DC45
Tritanopia (blue-blind)
#FECBBD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecdb39;
/* rgb */ color: rgb(236, 219, 57);
/* oklch */ color: oklch(87.9% 0.170 103.1);
Tailwind
colors: {
  custom: {
    50: '#f6e57c',
    500: '#ecdb39',
    950: '#000000',
  },
}
SCSS
$custom: #ecdb39;
$custom-light: #f6e57c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdb39",
  "rgb": {
    "r": 236,
    "g": 219,
    "b": 57
  },
  "hsl": {
    "h": 54.302,
    "s": 82.488,
    "l": 57.451
  },
  "oklch": {
    "l": 0.87906,
    "c": 0.16973,
    "h": 103.1
  },
  "luminance": 0.68791
}

Semantic roles & 50–950 ramp

primary
#ECDB39
secondary
#2B369F
accent
#42F92F
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150A
muted
#86847D

Preview Lab

Preview with #ECDB39

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

Preview Lab → · Contrast checker → · Palette generator →

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