#ECC85B#ECC85B

#ECC85B is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 84.3% C 0.133 H 91.0°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#ECC85B
RGBrgb(236, 200, 91)
HSLhsl(45, 79%, 64%)
HSVhsv(45, 61%, 93%)
CMYKcmyk(0%, 15.3%, 61.4%, 7.5%)
CIE-LABlab(81.78, 0.50, 57.92)
CIE-LCHlch(81.78, 57.93, 89.50°)
OKLaboklab(84.32% -0.0023 0.1332)
OKLCHoklch(84.32% 0.133 91)
XYZxyz(57.1374, 59.8998, 18.4478)
Luminance0.5990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC85B #5B7FEC
analogous
#EC805B #ECC85B #C8EC5B
triadic
#ECC85B #5BECC8 #C85BEC
tetradic
#ECC85B #5BEC80 #5B7FEC #EC5BC8
square
#ECC85B #5BEC80 #5B7FEC #EC5BC8
split-complementary
#ECC85B #5BC8EC #805BEC
monochromatic
#B78F15 #E6B624 #ECC85B #F2DA92 #F9EDC9

Accessibility & contrast

On white

1.62
#ECC85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#ECC85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC85B
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC85B#FFFFFF#000000##000000
##ECC85B1.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54F
Deuteranopia (green-blind)
#E5D060
Tritanopia (blue-blind)
#FEB9B0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ecc85b;
/* rgb */ color: rgb(236, 200, 91);
/* oklch */ color: oklch(84.3% 0.133 91.0);
Tailwind
colors: {
  custom: {
    50: '#f5d88d',
    500: '#ecc85b',
    950: '#000000',
  },
}
SCSS
$custom: #ecc85b;
$custom-light: #f5d88d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc85b",
  "rgb": {
    "r": 236,
    "g": 200,
    "b": 91
  },
  "hsl": {
    "h": 45.103,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.84324,
    "c": 0.13321,
    "h": 91
  },
  "luminance": 0.59897
}

Semantic roles & 50–950 ramp

primary
#ECC85B
secondary
#3455B7
accent
#3EDC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECC85B

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

Preview Lab → · Contrast checker → · Palette generator →

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