#CCC94A#CCC94A

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

Color values

HEX#CCC94A
RGBrgb(204, 201, 74)
HSLhsl(59, 56%, 55%)
HSVhsv(59, 64%, 80%)
CMYKcmyk(0%, 1.5%, 63.7%, 20%)
CIE-LABlab(79.10, -14.46, 61.52)
CIE-LCHlch(79.10, 63.19, 103.23°)
OKLaboklab(81.49% -0.0451 0.1392)
OKLCHoklch(81.49% 0.146 107.9)
XYZxyz(47.0261, 55.1065, 14.6367)
Luminance0.5511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC94A #4A4DCC
analogous
#CC884A #CCC94A #8ECC4A
triadic
#CCC94A #4ACCC9 #C94ACC
tetradic
#CCC94A #4ACC88 #4A4DCC #CC4A8E
square
#CCC94A #4ACC88 #4A4DCC #CC4A8E
split-complementary
#CCC94A #4A8ECC #884ACC
monochromatic
#797722 #A9A630 #CCC94A #D9D77A #E7E5A9

Accessibility & contrast

On white

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

On black

12.02
#CCC94A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC94A
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC94A#FFFFFF#000000##000000
##CCC94A1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc94a;
/* rgb */ color: rgb(204, 201, 74);
/* oklch */ color: oklch(81.5% 0.146 107.9);
Tailwind
colors: {
  custom: {
    50: '#dfd983',
    500: '#ccc94a',
    950: '#000000',
  },
}
SCSS
$custom: #ccc94a;
$custom-light: #dfd983;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc94a",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 74
  },
  "hsl": {
    "h": 58.615,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81487,
    "c": 0.14636,
    "h": 107.9
  },
  "luminance": 0.55105
}

Semantic roles & 50–950 ramp

primary
#CCC94A
secondary
#393A82
accent
#4CDF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC94A

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

Preview Lab → · Contrast checker → · Palette generator →

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