#ECC951#ECC951

#ECC951 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.4% C 0.142 H 92.7°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#ECC951
RGBrgb(236, 201, 81)
HSLhsl(46, 80%, 62%)
HSVhsv(46, 66%, 93%)
CMYKcmyk(0%, 14.8%, 65.7%, 7.5%)
CIE-LABlab(81.95, -0.63, 62.46)
CIE-LCHlch(81.95, 62.46, 90.58°)
OKLaboklab(84.43% -0.0068 0.1414)
OKLCHoklch(84.43% 0.142 92.7)
XYZxyz(56.9667, 60.2034, 16.4028)
Luminance0.6020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC951 #5174EC
analogous
#EC7C51 #ECC951 #C1EC51
triadic
#ECC951 #51ECC9 #C951EC
tetradic
#ECC951 #51EC7C #5174EC #EC51C1
square
#ECC951 #51EC7C #5174EC #EC51C1
split-complementary
#ECC951 #51C1EC #7C51EC
monochromatic
#AF8C13 #E6B81A #ECC951 #F2DA88 #F8EBBF

Accessibility & contrast

On white

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

On black

13.04
#ECC951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC951
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC951#FFFFFF#000000##000000
##ECC9511.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC642
Deuteranopia (green-blind)
#E6D057
Tritanopia (blue-blind)
#FEBAB0
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ecc951;
/* rgb */ color: rgb(236, 201, 81);
/* oklch */ color: oklch(84.4% 0.142 92.7);
Tailwind
colors: {
  custom: {
    50: '#f6d987',
    500: '#ecc951',
    950: '#000000',
  },
}
SCSS
$custom: #ecc951;
$custom-light: #f6d987;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc951",
  "rgb": {
    "r": 236,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 46.452,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.84426,
    "c": 0.14156,
    "h": 92.7
  },
  "luminance": 0.602
}

Semantic roles & 50–950 ramp

primary
#ECC951
secondary
#314EB0
accent
#39DD09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECC951

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

Preview Lab → · Contrast checker → · Palette generator →

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