#ECC957#ECC957

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

Color values

HEX#ECC957
RGBrgb(236, 201, 87)
HSLhsl(46, 80%, 63%)
HSVhsv(46, 63%, 93%)
CMYKcmyk(0%, 14.8%, 63.1%, 7.5%)
CIE-LABlab(82.00, -0.27, 59.93)
CIE-LCHlch(82.00, 59.93, 90.26°)
OKLaboklab(84.48% -0.005 0.1369)
OKLCHoklch(84.48% 0.137 92.1)
XYZxyz(57.2018, 60.2974, 17.6406)
Luminance0.6029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC957 #577AEC
analogous
#EC7E57 #ECC957 #C4EC57
triadic
#ECC957 #57ECC9 #C957EC
tetradic
#ECC957 #57EC7E #577AEC #EC57C4
square
#ECC957 #57EC7E #577AEC #EC57C4
split-complementary
#ECC957 #57C4EC #7E57EC
monochromatic
#B48F14 #E6B720 #ECC957 #F2DB8E #F8ECC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECC957#FFFFFF#000000##000000
##ECC9571.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)
#DDC64A
Deuteranopia (green-blind)
#E6D05C
Tritanopia (blue-blind)
#FEBAB0
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ecc957;
/* rgb */ color: rgb(236, 201, 87);
/* oklch */ color: oklch(84.5% 0.137 92.1);
Tailwind
colors: {
  custom: {
    50: '#f6d98b',
    500: '#ecc957',
    950: '#000000',
  },
}
SCSS
$custom: #ecc957;
$custom-light: #f6d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc957",
  "rgb": {
    "r": 236,
    "g": 201,
    "b": 87
  },
  "hsl": {
    "h": 45.906,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84483,
    "c": 0.13702,
    "h": 92.1
  },
  "luminance": 0.60294
}

Semantic roles & 50–950 ramp

primary
#ECC957
secondary
#3351B4
accent
#3BDC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECC957

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

Preview Lab → · Contrast checker → · Palette generator →

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