#ECD85B#ECD85B

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

Color values

HEX#ECD85B
RGBrgb(236, 216, 91)
HSLhsl(52, 79%, 64%)
HSVhsv(52, 61%, 93%)
CMYKcmyk(0%, 8.5%, 61.4%, 7.5%)
CIE-LABlab(85.86, -7.66, 62.41)
CIE-LCHlch(85.86, 62.87, 97.00°)
OKLaboklab(87.55% -0.0258 0.1427)
OKLCHoklch(87.55% 0.145 100.2)
XYZxyz(61.0387, 67.7025, 19.7482)
Luminance0.6770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD85B #5B6FEC
analogous
#EC905B #ECD85B #B8EC5B
triadic
#ECD85B #5BECD8 #D85BEC
tetradic
#ECD85B #5BEC90 #5B6FEC #EC5BB8
square
#ECD85B #5BEC90 #5B6FEC #EC5BB8
split-complementary
#ECD85B #5BB8EC #905BEC
monochromatic
#B7A115 #E6CB24 #ECD85B #F2E592 #F9F2C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD85B#FFFFFF#000000##000000
##ECD85B1.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)
#EBD24D
Deuteranopia (green-blind)
#F0DA62
Tritanopia (blue-blind)
#FDCABD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd85b;
/* rgb */ color: rgb(236, 216, 91);
/* oklch */ color: oklch(87.5% 0.145 100.2);
Tailwind
colors: {
  custom: {
    50: '#f5e38e',
    500: '#ecd85b',
    950: '#000000',
  },
}
SCSS
$custom: #ecd85b;
$custom-light: #f5e38e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd85b",
  "rgb": {
    "r": 236,
    "g": 216,
    "b": 91
  },
  "hsl": {
    "h": 51.724,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.87547,
    "c": 0.14505,
    "h": 100.2
  },
  "luminance": 0.677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECD85B

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

Preview Lab → · Contrast checker → · Palette generator →

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