#ECD85A#ECD85A

#ECD85A is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.5% C 0.146 H 100.3°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#ECD85A
RGBrgb(236, 216, 90)
HSLhsl(52, 79%, 64%)
HSVhsv(52, 62%, 93%)
CMYKcmyk(0%, 8.5%, 61.9%, 7.5%)
CIE-LABlab(85.85, -7.73, 62.82)
CIE-LCHlch(85.85, 63.30, 97.01°)
OKLaboklab(87.54% -0.0261 0.1435)
OKLCHoklch(87.54% 0.146 100.3)
XYZxyz(60.9959, 67.6854, 19.5225)
Luminance0.6768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD85A #5A6EEC
analogous
#EC8F5A #ECD85A #B7EC5A
triadic
#ECD85A #5AECD8 #D85AEC
tetradic
#ECD85A #5AEC8F #5A6EEC #EC5AB7
square
#ECD85A #5AEC8F #5A6EEC #EC5AB7
split-complementary
#ECD85A #5AB7EC #8F5AEC
monochromatic
#B7A015 #E6CB23 #ECD85A #F2E591 #F9F2C8

Accessibility & contrast

On white

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

On black

14.54
#ECD85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD85A
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD85A#FFFFFF#000000##000000
##ECD85A1.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD24B
Deuteranopia (green-blind)
#F1DA61
Tritanopia (blue-blind)
#FDCABD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd85a;
/* rgb */ color: rgb(236, 216, 90);
/* oklch */ color: oklch(87.5% 0.146 100.3);
Tailwind
colors: {
  custom: {
    50: '#f5e38e',
    500: '#ecd85a',
    950: '#000000',
  },
}
SCSS
$custom: #ecd85a;
$custom-light: #f5e38e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd85a",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 90
  },
  "hsl": {
    "h": 51.781,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.87537,
    "c": 0.14584,
    "h": 100.3
  },
  "luminance": 0.67683
}

Semantic roles & 50–950 ramp

primary
#ECD85A
secondary
#3446B6
accent
#27DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECD85A

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

Preview Lab → · Contrast checker → · Palette generator →

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