#ECC958#ECC958

#ECC958 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.5% C 0.136 H 92.0°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#ECC958
RGBrgb(236, 201, 88)
HSLhsl(46, 80%, 64%)
HSVhsv(46, 63%, 93%)
CMYKcmyk(0%, 14.8%, 62.7%, 7.5%)
CIE-LABlab(82.01, -0.21, 59.51)
CIE-LCHlch(82.01, 59.51, 90.20°)
OKLaboklab(84.49% -0.0047 0.1362)
OKLCHoklch(84.49% 0.136 92)
XYZxyz(57.2429, 60.3138, 17.8572)
Luminance0.6031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC958 #587BEC
analogous
#EC7F58 #ECC958 #C5EC58
triadic
#ECC958 #58ECC9 #C958EC
tetradic
#ECC958 #58EC7F #587BEC #EC58C5
square
#ECC958 #58EC7F #587BEC #EC58C5
split-complementary
#ECC958 #58C5EC #7F58EC
monochromatic
#B58F15 #E6B721 #ECC958 #F2DB8F #F9EDC6

Accessibility & contrast

On white

1.61
#ECC958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.06
#ECC958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC958
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC958#FFFFFF#000000##000000
##ECC9581.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64B
Deuteranopia (green-blind)
#E6D05D
Tritanopia (blue-blind)
#FEBAB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ecc958;
/* rgb */ color: rgb(236, 201, 88);
/* oklch */ color: oklch(84.5% 0.136 92.0);
Tailwind
colors: {
  custom: {
    50: '#f6d98b',
    500: '#ecc958',
    950: '#000000',
  },
}
SCSS
$custom: #ecc958;
$custom-light: #f6d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc958",
  "rgb": {
    "r": 236,
    "g": 201,
    "b": 88
  },
  "hsl": {
    "h": 45.811,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84492,
    "c": 0.13624,
    "h": 92
  },
  "luminance": 0.60311
}

Semantic roles & 50–950 ramp

primary
#ECC958
secondary
#3352B5
accent
#3BDC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECC958

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

Preview Lab → · Contrast checker → · Palette generator →

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