#ECD15D#ECD15D

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

Color values

HEX#ECD15D
RGBrgb(236, 209, 93)
HSLhsl(49, 79%, 65%)
HSVhsv(49, 61%, 93%)
CMYKcmyk(0%, 11.4%, 60.6%, 7.5%)
CIE-LABlab(84.08, -3.98, 59.59)
CIE-LCHlch(84.08, 59.72, 93.82°)
OKLaboklab(86.15% -0.015 0.137)
OKLCHoklch(86.15% 0.138 96.3)
XYZxyz(59.3708, 64.2269, 19.6236)
Luminance0.6422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD15D #5D78EC
analogous
#EC895D #ECD15D #C0EC5D
triadic
#ECD15D #5DECD1 #D15DEC
tetradic
#ECD15D #5DEC89 #5D78EC #EC5DC0
square
#ECD15D #5DEC89 #5D78EC #EC5DC0
split-complementary
#ECD15D #5DC0EC #895DEC
monochromatic
#B99A16 #E6C126 #ECD15D #F2E194 #F9F0CB

Accessibility & contrast

On white

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

On black

13.84
#ECD15D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD15D
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD15D#FFFFFF#000000##000000
##ECD15D1.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD50
Deuteranopia (green-blind)
#EBD563
Tritanopia (blue-blind)
#FDC3B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ecd15d;
/* rgb */ color: rgb(236, 209, 93);
/* oklch */ color: oklch(86.1% 0.138 96.3);
Tailwind
colors: {
  custom: {
    50: '#f5de8f',
    500: '#ecd15d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd15d;
$custom-light: #f5de8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd15d",
  "rgb": {
    "r": 236,
    "g": 209,
    "b": 93
  },
  "hsl": {
    "h": 48.671,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.86147,
    "c": 0.13783,
    "h": 96.3
  },
  "luminance": 0.64224
}

Semantic roles & 50–950 ramp

primary
#ECD15D
secondary
#354EB8
accent
#32DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECD15D

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

Preview Lab → · Contrast checker → · Palette generator →

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