#ECD86B#ECD86B

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

Color values

HEX#ECD86B
RGBrgb(236, 216, 107)
HSLhsl(51, 77%, 67%)
HSVhsv(51, 55%, 93%)
CMYKcmyk(0%, 8.5%, 54.7%, 7.5%)
CIE-LABlab(86.01, -6.53, 55.44)
CIE-LCHlch(86.01, 55.82, 96.71°)
OKLaboklab(87.72% -0.0207 0.1297)
OKLCHoklch(87.72% 0.131 99.1)
XYZxyz(61.8040, 68.0086, 23.7785)
Luminance0.6801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD86B #6B7FEC
analogous
#EC986B #ECD86B #BFEC6B
triadic
#ECD86B #6BECD8 #D86BEC
tetradic
#ECD86B #6BEC98 #6B7FEC #EC6BBF
square
#ECD86B #6BEC98 #6B7FEC #EC6BBF
split-complementary
#ECD86B #6BBFEC #986BEC
monochromatic
#C4A919 #E5CA35 #ECD86B #F3E6A1 #FAF5D7

Accessibility & contrast

On white

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

On black

14.60
#ECD86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD86B
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD86B#FFFFFF#000000##000000
##ECD86B1.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD361
Deuteranopia (green-blind)
#EFDA70
Tritanopia (blue-blind)
#FCCBBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd86b;
/* rgb */ color: rgb(236, 216, 107);
/* oklch */ color: oklch(87.7% 0.131 99.1);
Tailwind
colors: {
  custom: {
    50: '#f5e398',
    500: '#ecd86b',
    950: '#000000',
  },
}
SCSS
$custom: #ecd86b;
$custom-light: #f5e398;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd86b",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 107
  },
  "hsl": {
    "h": 50.698,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.87718,
    "c": 0.13139,
    "h": 99.1
  },
  "luminance": 0.68006
}

Semantic roles & 50–950 ramp

primary
#ECD86B
secondary
#3A4FC2
accent
#2CD90C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD86B

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

Preview Lab → · Contrast checker → · Palette generator →

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