#CCC05C#CCC05C

#CCC05C is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.8% C 0.122 H 102.5°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#CCC05C
RGBrgb(204, 192, 92)
HSLhsl(54, 52%, 58%)
HSVhsv(54, 55%, 80%)
CMYKcmyk(0%, 5.9%, 54.9%, 20%)
CIE-LABlab(76.87, -8.62, 51.13)
CIE-LCHlch(76.87, 51.85, 99.58°)
OKLaboklab(79.76% -0.0265 0.1194)
OKLCHoklch(79.76% 0.122 102.5)
XYZxyz(45.6847, 51.3110, 17.6207)
Luminance0.5131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC05C #5C68CC
analogous
#CC885C #CCC05C #A0CC5C
triadic
#CCC05C #5CCCC0 #C05CCC
tetradic
#CCC05C #5CCC88 #5C68CC #CC5CA0
square
#CCC05C #5CCC88 #5C68CC #CC5CA0
split-complementary
#CCC05C #5CA0CC #885CCC
monochromatic
#847A29 #B3A638 #CCC05C #DBD28B #E9E4B9

Accessibility & contrast

On white

1.86
#CCC05C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#CCC05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC05C
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC05C#FFFFFF#000000##000000
##CCC05C1.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB52
Deuteranopia (green-blind)
#D3C061
Tritanopia (blue-blind)
#DAB4AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc05c;
/* rgb */ color: rgb(204, 192, 92);
/* oklch */ color: oklch(79.8% 0.122 102.5);
Tailwind
colors: {
  custom: {
    50: '#ded28d',
    500: '#ccc05c',
    950: '#000000',
  },
}
SCSS
$custom: #ccc05c;
$custom-light: #ded28d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc05c",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 92
  },
  "hsl": {
    "h": 53.571,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79761,
    "c": 0.12234,
    "h": 102.5
  },
  "luminance": 0.51309
}

Semantic roles & 50–950 ramp

primary
#CCC05C
secondary
#41498C
accent
#5BDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC05C

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

Preview Lab → · Contrast checker → · Palette generator →

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