#ECC956#ECC956

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

Color values

HEX#ECC956
RGBrgb(236, 201, 86)
HSLhsl(46, 80%, 63%)
HSVhsv(46, 64%, 93%)
CMYKcmyk(0%, 14.8%, 63.6%, 7.5%)
CIE-LABlab(81.99, -0.33, 60.36)
CIE-LCHlch(81.99, 60.36, 90.31°)
OKLaboklab(84.47% -0.0053 0.1377)
OKLCHoklch(84.47% 0.138 92.2)
XYZxyz(57.1612, 60.2811, 17.4269)
Luminance0.6028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC956 #5679EC
analogous
#EC7E56 #ECC956 #C4EC56
triadic
#ECC956 #56ECC9 #C956EC
tetradic
#ECC956 #56EC7E #5679EC #EC56C4
square
#ECC956 #56EC7E #5679EC #EC56C4
split-complementary
#ECC956 #56C4EC #7E56EC
monochromatic
#B38E14 #E6B71F #ECC956 #F2DB8D #F8ECC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECC956#FFFFFF#000000##000000
##ECC9561.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)
#DDC649
Deuteranopia (green-blind)
#E6D05B
Tritanopia (blue-blind)
#FEBAB0
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ecc956;
/* rgb */ color: rgb(236, 201, 86);
/* oklch */ color: oklch(84.5% 0.138 92.2);
Tailwind
colors: {
  custom: {
    50: '#f6d98a',
    500: '#ecc956',
    950: '#000000',
  },
}
SCSS
$custom: #ecc956;
$custom-light: #f6d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc956",
  "rgb": {
    "r": 236,
    "g": 201,
    "b": 86
  },
  "hsl": {
    "h": 46,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84473,
    "c": 0.1378,
    "h": 92.2
  },
  "luminance": 0.60278
}

Semantic roles & 50–950 ramp

primary
#ECC956
secondary
#3351B3
accent
#3BDC09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECC956

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

Preview Lab → · Contrast checker → · Palette generator →

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