#ECD86D#ECD86D

#ECD86D is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.7% C 0.130 H 98.9°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#ECD86D
RGBrgb(236, 216, 109)
HSLhsl(51, 77%, 68%)
HSVhsv(51, 54%, 93%)
CMYKcmyk(0%, 8.5%, 53.8%, 7.5%)
CIE-LABlab(86.03, -6.37, 54.54)
CIE-LCHlch(86.03, 54.91, 96.66°)
OKLaboklab(87.74% -0.0201 0.128)
OKLCHoklch(87.74% 0.13 98.9)
XYZxyz(61.9104, 68.0512, 24.3391)
Luminance0.6805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD86D #6D81EC
analogous
#EC986D #ECD86D #C1EC6D
triadic
#ECD86D #6DECD8 #D86DEC
tetradic
#ECD86D #6DEC98 #6D81EC #EC6DC1
square
#ECD86D #6DEC98 #6D81EC #EC6DC1
split-complementary
#ECD86D #6DC1EC #986DEC
monochromatic
#C5AA1A #E5CA37 #ECD86D #F3E6A3 #FAF5D9

Accessibility & contrast

On white

1.44
#ECD86D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.61
#ECD86D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD86D
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD86D#FFFFFF#000000##000000
##ECD86D1.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD363
Deuteranopia (green-blind)
#EFDA72
Tritanopia (blue-blind)
#FCCBC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd86d;
/* rgb */ color: rgb(236, 216, 109);
/* oklch */ color: oklch(87.7% 0.130 98.9);
Tailwind
colors: {
  custom: {
    50: '#f5e39a',
    500: '#ecd86d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd86d;
$custom-light: #f5e39a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd86d",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 109
  },
  "hsl": {
    "h": 50.551,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87741,
    "c": 0.12955,
    "h": 98.9
  },
  "luminance": 0.68049
}

Semantic roles & 50–950 ramp

primary
#ECD86D
secondary
#3A50C3
accent
#2DD90C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD86D

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

Preview Lab → · Contrast checker → · Palette generator →

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