#ECD86A#ECD86A

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

Color values

HEX#ECD86A
RGBrgb(236, 216, 106)
HSLhsl(51, 77%, 67%)
HSVhsv(51, 55%, 93%)
CMYKcmyk(0%, 8.5%, 55.1%, 7.5%)
CIE-LABlab(86.00, -6.60, 55.89)
CIE-LCHlch(86.00, 56.28, 96.74°)
OKLaboklab(87.71% -0.0211 0.1306)
OKLCHoklch(87.71% 0.132 99.2)
XYZxyz(61.7516, 67.9877, 23.5031)
Luminance0.6798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD86A #6A7EEC
analogous
#EC976A #ECD86A #BFEC6A
triadic
#ECD86A #6AECD8 #D86AEC
tetradic
#ECD86A #6AEC97 #6A7EEC #EC6ABF
square
#ECD86A #6AEC97 #6A7EEC #EC6ABF
split-complementary
#ECD86A #6ABFEC #976AEC
monochromatic
#C3A919 #E5CA34 #ECD86A #F3E6A0 #FAF4D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD86A#FFFFFF#000000##000000
##ECD86A1.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)
#EAD35F
Deuteranopia (green-blind)
#EFDA6F
Tritanopia (blue-blind)
#FCCBBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd86a;
/* rgb */ color: rgb(236, 216, 106);
/* oklch */ color: oklch(87.7% 0.132 99.2);
Tailwind
colors: {
  custom: {
    50: '#f5e398',
    500: '#ecd86a',
    950: '#000000',
  },
}
SCSS
$custom: #ecd86a;
$custom-light: #f5e398;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd86a",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 106
  },
  "hsl": {
    "h": 50.769,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87706,
    "c": 0.1323,
    "h": 99.2
  },
  "luminance": 0.67985
}

Semantic roles & 50–950 ramp

primary
#ECD86A
secondary
#394EC1
accent
#2CDA0C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD86A

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

Preview Lab → · Contrast checker → · Palette generator →

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