#ECD15B#ECD15B

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

Color values

HEX#ECD15B
RGBrgb(236, 209, 91)
HSLhsl(49, 79%, 64%)
HSVhsv(49, 61%, 93%)
CMYKcmyk(0%, 11.4%, 61.4%, 7.5%)
CIE-LABlab(84.07, -4.11, 60.45)
CIE-LCHlch(84.07, 60.59, 93.89°)
OKLaboklab(86.13% -0.0156 0.1386)
OKLCHoklch(86.13% 0.139 96.4)
XYZxyz(59.2834, 64.1919, 19.1631)
Luminance0.6419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD15B #5B76EC
analogous
#EC895B #ECD15B #BEEC5B
triadic
#ECD15B #5BECD1 #D15BEC
tetradic
#ECD15B #5BEC89 #5B76EC #EC5BBE
square
#ECD15B #5BEC89 #5B76EC #EC5BBE
split-complementary
#ECD15B #5BBEEC #895BEC
monochromatic
#B79915 #E6C224 #ECD15B #F2E092 #F9F0C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD15B#FFFFFF#000000##000000
##ECD15B1.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)
#E4CD4E
Deuteranopia (green-blind)
#EBD561
Tritanopia (blue-blind)
#FDC3B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ecd15b;
/* rgb */ color: rgb(236, 209, 91);
/* oklch */ color: oklch(86.1% 0.139 96.4);
Tailwind
colors: {
  custom: {
    50: '#f5de8e',
    500: '#ecd15b',
    950: '#000000',
  },
}
SCSS
$custom: #ecd15b;
$custom-light: #f5de8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd15b",
  "rgb": {
    "r": 236,
    "g": 209,
    "b": 91
  },
  "hsl": {
    "h": 48.828,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.86127,
    "c": 0.13945,
    "h": 96.4
  },
  "luminance": 0.64189
}

Semantic roles & 50–950 ramp

primary
#ECD15B
secondary
#344DB7
accent
#31DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECD15B

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

Preview Lab → · Contrast checker → · Palette generator →

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