#CCC94D#CCC94D

#CCC94D is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.5% C 0.144 H 107.9°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#CCC94D
RGBrgb(204, 201, 77)
HSLhsl(59, 55%, 55%)
HSVhsv(59, 62%, 80%)
CMYKcmyk(0%, 1.5%, 62.3%, 20%)
CIE-LABlab(79.13, -14.28, 60.30)
CIE-LCHlch(79.13, 61.97, 103.32°)
OKLaboklab(81.51% -0.0442 0.1371)
OKLCHoklch(81.51% 0.144 107.9)
XYZxyz(47.1296, 55.1479, 15.1817)
Luminance0.5515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC94D #4D50CC
analogous
#CC8A4D #CCC94D #8FCC4D
triadic
#CCC94D #4DCCC9 #C94DCC
tetradic
#CCC94D #4DCC8A #4D50CC #CC4D8F
square
#CCC94D #4DCC8A #4D50CC #CC4D8F
split-complementary
#CCC94D #4D8FCC #8A4DCC
monochromatic
#7B7923 #ABA831 #CCC94D #DAD77D #E7E6AC

Accessibility & contrast

On white

1.75
#CCC94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#CCC94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC94D
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC94D#FFFFFF#000000##000000
##CCC94D1.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc94d;
/* rgb */ color: rgb(204, 201, 77);
/* oklch */ color: oklch(81.5% 0.144 107.9);
Tailwind
colors: {
  custom: {
    50: '#ded984',
    500: '#ccc94d',
    950: '#000000',
  },
}
SCSS
$custom: #ccc94d;
$custom-light: #ded984;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc94d",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 77
  },
  "hsl": {
    "h": 58.583,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81513,
    "c": 0.14408,
    "h": 107.9
  },
  "luminance": 0.55146
}

Semantic roles & 50–950 ramp

primary
#CCC94D
secondary
#3A3C83
accent
#4DDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC94D

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

Preview Lab → · Contrast checker → · Palette generator →

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