#ECC85A#ECC85A

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

Color values

HEX#ECC85A
RGBrgb(236, 200, 90)
HSLhsl(45, 79%, 64%)
HSVhsv(45, 62%, 93%)
CMYKcmyk(0%, 15.3%, 61.9%, 7.5%)
CIE-LABlab(81.77, 0.44, 58.36)
CIE-LCHlch(81.77, 58.36, 89.57°)
OKLaboklab(84.31% -0.0026 0.134)
OKLCHoklch(84.31% 0.134 91.1)
XYZxyz(57.0945, 59.8827, 18.2221)
Luminance0.5988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC85A #5A7EEC
analogous
#EC7F5A #ECC85A #C7EC5A
triadic
#ECC85A #5AECC8 #C85AEC
tetradic
#ECC85A #5AEC7F #5A7EEC #EC5AC7
square
#ECC85A #5AEC7F #5A7EEC #EC5AC7
split-complementary
#ECC85A #5AC7EC #7F5AEC
monochromatic
#B78F15 #E6B623 #ECC85A #F2DA91 #F9EDC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECC85A#FFFFFF#000000##000000
##ECC85A1.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)
#DCC54E
Deuteranopia (green-blind)
#E5D05F
Tritanopia (blue-blind)
#FEB9B0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ecc85a;
/* rgb */ color: rgb(236, 200, 90);
/* oklch */ color: oklch(84.3% 0.134 91.1);
Tailwind
colors: {
  custom: {
    50: '#f5d88d',
    500: '#ecc85a',
    950: '#000000',
  },
}
SCSS
$custom: #ecc85a;
$custom-light: #f5d88d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc85a",
  "rgb": {
    "r": 236,
    "g": 200,
    "b": 90
  },
  "hsl": {
    "h": 45.205,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.84314,
    "c": 0.13402,
    "h": 91.1
  },
  "luminance": 0.5988
}

Semantic roles & 50–950 ramp

primary
#ECC85A
secondary
#3454B6
accent
#3EDC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECC85A

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

Preview Lab → · Contrast checker → · Palette generator →

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