#CCC05A#CCC05A

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

Color values

HEX#CCC05A
RGBrgb(204, 192, 90)
HSLhsl(54, 53%, 58%)
HSVhsv(54, 56%, 80%)
CMYKcmyk(0%, 5.9%, 55.9%, 20%)
CIE-LABlab(76.85, -8.78, 52.04)
CIE-LCHlch(76.85, 52.77, 99.58°)
OKLaboklab(79.74% -0.0272 0.1212)
OKLCHoklch(79.74% 0.124 102.6)
XYZxyz(45.5984, 51.2765, 17.1663)
Luminance0.5128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC05A #5A66CC
analogous
#CC875A #CCC05A #9FCC5A
triadic
#CCC05A #5ACCC0 #C05ACC
tetradic
#CCC05A #5ACC87 #5A66CC #CC5A9F
square
#CCC05A #5ACC87 #5A66CC #CC5A9F
split-complementary
#CCC05A #5A9FCC #875ACC
monochromatic
#837A29 #B2A537 #CCC05A #DAD289 #E9E4B7

Accessibility & contrast

On white

1.87
#CCC05A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC05A#FFFFFF#000000##000000
##CCC05A1.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA50
Deuteranopia (green-blind)
#D3C05F
Tritanopia (blue-blind)
#DAB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc05a;
/* rgb */ color: rgb(204, 192, 90);
/* oklch */ color: oklch(79.7% 0.124 102.6);
Tailwind
colors: {
  custom: {
    50: '#ded28c',
    500: '#ccc05a',
    950: '#000000',
  },
}
SCSS
$custom: #ccc05a;
$custom-light: #ded28c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc05a",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 90
  },
  "hsl": {
    "h": 53.684,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79737,
    "c": 0.12419,
    "h": 102.6
  },
  "luminance": 0.51275
}

Semantic roles & 50–950 ramp

primary
#CCC05A
secondary
#40488A
accent
#5BDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC05A

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

Preview Lab → · Contrast checker → · Palette generator →

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