#ECD159#ECD159

#ECD159 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 86.1% C 0.141 H 96.6°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#ECD159
RGBrgb(236, 209, 89)
HSLhsl(49, 79%, 64%)
HSVhsv(49, 62%, 93%)
CMYKcmyk(0%, 11.4%, 62.3%, 7.5%)
CIE-LABlab(84.05, -4.24, 61.30)
CIE-LCHlch(84.05, 61.44, 93.96°)
OKLaboklab(86.11% -0.0162 0.1401)
OKLCHoklch(86.11% 0.141 96.6)
XYZxyz(59.1983, 64.1579, 18.7148)
Luminance0.6415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD159 #5974EC
analogous
#EC8759 #ECD159 #BDEC59
triadic
#ECD159 #59ECD1 #D159EC
tetradic
#ECD159 #59EC87 #5974EC #EC59BD
square
#ECD159 #59EC87 #5974EC #EC59BD
split-complementary
#ECD159 #59BDEC #8759EC
monochromatic
#B69815 #E6C222 #ECD159 #F2E090 #F9EFC7

Accessibility & contrast

On white

1.52
#ECD159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#ECD159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD159
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD159#FFFFFF#000000##000000
##ECD1591.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD4B
Deuteranopia (green-blind)
#EBD55F
Tritanopia (blue-blind)
#FDC2B7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ecd159;
/* rgb */ color: rgb(236, 209, 89);
/* oklch */ color: oklch(86.1% 0.141 96.6);
Tailwind
colors: {
  custom: {
    50: '#f5de8d',
    500: '#ecd159',
    950: '#000000',
  },
}
SCSS
$custom: #ecd159;
$custom-light: #f5de8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd159",
  "rgb": {
    "r": 236,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 48.98,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.86107,
    "c": 0.14105,
    "h": 96.6
  },
  "luminance": 0.64155
}

Semantic roles & 50–950 ramp

primary
#ECD159
secondary
#344CB5
accent
#30DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD159

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

Preview Lab → · Contrast checker → · Palette generator →

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