#ECC758#ECC758

#ECC758 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 84.1% C 0.135 H 90.7°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#ECC758
RGBrgb(236, 199, 88)
HSLhsl(45, 80%, 64%)
HSVhsv(45, 63%, 93%)
CMYKcmyk(0%, 15.7%, 62.7%, 7.5%)
CIE-LABlab(81.50, 0.83, 58.95)
CIE-LCHlch(81.50, 58.96, 89.20°)
OKLaboklab(84.09% -0.0017 0.135)
OKLCHoklch(84.09% 0.135 90.7)
XYZxyz(56.7797, 59.3874, 17.7028)
Luminance0.5938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC758 #587DEC
analogous
#EC7D58 #ECC758 #C7EC58
triadic
#ECC758 #58ECC7 #C758EC
tetradic
#ECC758 #58EC7D #587DEC #EC58C7
square
#ECC758 #58EC7D #587DEC #EC58C7
split-complementary
#ECC758 #58C7EC #7D58EC
monochromatic
#B58D15 #E6B521 #ECC758 #F2D98F #F9ECC6

Accessibility & contrast

On white

1.63
#ECC758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#ECC758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC758
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC758#FFFFFF#000000##000000
##ECC7581.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44C
Deuteranopia (green-blind)
#E4CF5D
Tritanopia (blue-blind)
#FEB8AF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ecc758;
/* rgb */ color: rgb(236, 199, 88);
/* oklch */ color: oklch(84.1% 0.135 90.7);
Tailwind
colors: {
  custom: {
    50: '#f6d78b',
    500: '#ecc758',
    950: '#000000',
  },
}
SCSS
$custom: #ecc758;
$custom-light: #f6d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc758",
  "rgb": {
    "r": 236,
    "g": 199,
    "b": 88
  },
  "hsl": {
    "h": 45,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84094,
    "c": 0.13499,
    "h": 90.7
  },
  "luminance": 0.59384
}

Semantic roles & 50–950 ramp

primary
#ECC758
secondary
#3354B5
accent
#3EDC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECC758

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

Preview Lab → · Contrast checker → · Palette generator →

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