#CCC950#CCC950

#CCC950 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.5% C 0.142 H 107.8°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#CCC950
RGBrgb(204, 201, 80)
HSLhsl(59, 55%, 56%)
HSVhsv(59, 61%, 80%)
CMYKcmyk(0%, 1.5%, 60.8%, 20%)
CIE-LABlab(79.15, -14.08, 59.06)
CIE-LCHlch(79.15, 60.72, 103.41°)
OKLaboklab(81.54% -0.0434 0.1349)
OKLCHoklch(81.54% 0.142 107.8)
XYZxyz(47.2380, 55.1913, 15.7525)
Luminance0.5519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC950 #5053CC
analogous
#CC8B50 #CCC950 #91CC50
triadic
#CCC950 #50CCC9 #C950CC
tetradic
#CCC950 #50CC8B #5053CC #CC5091
square
#CCC950 #50CC8B #5053CC #CC5091
split-complementary
#CCC950 #5091CC #8B50CC
monochromatic
#7D7B24 #ADAA32 #CCC950 #DAD87F #E8E6AF

Accessibility & contrast

On white

1.74
#CCC950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#CCC950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC950
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC950#FFFFFF#000000##000000
##CCC9501.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C142
Deuteranopia (green-blind)
#DBC657
Tritanopia (blue-blind)
#DABDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc950;
/* rgb */ color: rgb(204, 201, 80);
/* oklch */ color: oklch(81.5% 0.142 107.8);
Tailwind
colors: {
  custom: {
    50: '#ded986',
    500: '#ccc950',
    950: '#000000',
  },
}
SCSS
$custom: #ccc950;
$custom-light: #ded986;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc950",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 58.548,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81541,
    "c": 0.14171,
    "h": 107.8
  },
  "luminance": 0.5519
}

Semantic roles & 50–950 ramp

primary
#CCC950
secondary
#3B3D85
accent
#4DDE4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC950

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

Preview Lab → · Contrast checker → · Palette generator →

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