#ECD86E#ECD86E

#ECD86E is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.8% C 0.129 H 98.8°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#ECD86E
RGBrgb(236, 216, 110)
HSLhsl(50, 77%, 68%)
HSVhsv(50, 53%, 93%)
CMYKcmyk(0%, 8.5%, 53.4%, 7.5%)
CIE-LABlab(86.04, -6.29, 54.08)
CIE-LCHlch(86.04, 54.45, 96.63°)
OKLaboklab(87.75% -0.0197 0.1271)
OKLCHoklch(87.75% 0.129 98.8)
XYZxyz(61.9645, 68.0728, 24.6242)
Luminance0.6807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD86E #6E82EC
analogous
#EC996E #ECD86E #C1EC6E
triadic
#ECD86E #6EECD8 #D86EEC
tetradic
#ECD86E #6EEC99 #6E82EC #EC6EC1
square
#ECD86E #6EEC99 #6E82EC #EC6EC1
split-complementary
#ECD86E #6EC1EC #996EEC
monochromatic
#C6AA1A #E5C938 #ECD86E #F3E7A4 #FAF5DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD86E#FFFFFF#000000##000000
##ECD86E1.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)
#E9D364
Deuteranopia (green-blind)
#EFDA73
Tritanopia (blue-blind)
#FCCBC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd86e;
/* rgb */ color: rgb(236, 216, 110);
/* oklch */ color: oklch(87.8% 0.129 98.8);
Tailwind
colors: {
  custom: {
    50: '#f5e39a',
    500: '#ecd86e',
    950: '#000000',
  },
}
SCSS
$custom: #ecd86e;
$custom-light: #f5e39a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd86e",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 110
  },
  "hsl": {
    "h": 50.476,
    "s": 76.829,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87753,
    "c": 0.12862,
    "h": 98.8
  },
  "luminance": 0.6807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECD86E

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

Preview Lab → · Contrast checker → · Palette generator →

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