#CCC94F#CCC94F

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

Color values

HEX#CCC94F
RGBrgb(204, 201, 79)
HSLhsl(59, 55%, 55%)
HSVhsv(59, 61%, 80%)
CMYKcmyk(0%, 1.5%, 61.3%, 20%)
CIE-LABlab(79.14, -14.15, 59.48)
CIE-LCHlch(79.14, 61.14, 103.38°)
OKLaboklab(81.53% -0.0437 0.1357)
OKLCHoklch(81.53% 0.143 107.8)
XYZxyz(47.2013, 55.1766, 15.5594)
Luminance0.5517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC94F #4F52CC
analogous
#CC8A4F #CCC94F #90CC4F
triadic
#CCC94F #4FCCC9 #C94FCC
tetradic
#CCC94F #4FCC8A #4F52CC #CC4F90
square
#CCC94F #4FCC8A #4F52CC #CC4F90
split-complementary
#CCC94F #4F90CC #8A4FCC
monochromatic
#7D7A24 #ACA932 #CCC94F #DAD87E #E7E6AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC94F#FFFFFF#000000##000000
##CCC94F1.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)
#D9C140
Deuteranopia (green-blind)
#DBC656
Tritanopia (blue-blind)
#DABDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc94f;
/* rgb */ color: rgb(204, 201, 79);
/* oklch */ color: oklch(81.5% 0.143 107.8);
Tailwind
colors: {
  custom: {
    50: '#ded986',
    500: '#ccc94f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc94f;
$custom-light: #ded986;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc94f",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 79
  },
  "hsl": {
    "h": 58.56,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81532,
    "c": 0.14252,
    "h": 107.8
  },
  "luminance": 0.55175
}

Semantic roles & 50–950 ramp

primary
#CCC94F
secondary
#3B3D84
accent
#4DDE49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CCC94F

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

Preview Lab → · Contrast checker → · Palette generator →

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