#CCC06D#CCC06D

#CCC06D is a light, moderate yellow. Relative luminance 0.516; OKLCH L 80.0% C 0.105 H 101.2°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#CCC06D
RGBrgb(204, 192, 109)
HSLhsl(52, 48%, 61%)
HSVhsv(52, 47%, 80%)
CMYKcmyk(0%, 5.9%, 46.6%, 20%)
CIE-LABlab(77.07, -7.13, 43.13)
CIE-LCHlch(77.07, 43.72, 99.39°)
OKLaboklab(79.98% -0.0204 0.1035)
OKLCHoklch(79.98% 0.105 101.2)
XYZxyz(46.5130, 51.6423, 21.9829)
Luminance0.5164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC06D #6D79CC
analogous
#CC916D #CCC06D #A9CC6D
triadic
#CCC06D #6DCCC0 #C06DCC
tetradic
#CCC06D #6DCC91 #6D79CC #CC6DA9
square
#CCC06D #6DCC91 #6D79CC #CC6DA9
split-complementary
#CCC06D #6DA9CC #916DCC
monochromatic
#8D8231 #BBAB41 #CCC06D #DCD49A #ECE7C8

Accessibility & contrast

On white

1.85
#CCC06D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#CCC06D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC06D
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC06D#FFFFFF#000000##000000
##CCC06D1.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBB66
Deuteranopia (green-blind)
#D1C171
Tritanopia (blue-blind)
#D9B6AC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc06d;
/* rgb */ color: rgb(204, 192, 109);
/* oklch */ color: oklch(80.0% 0.105 101.2);
Tailwind
colors: {
  custom: {
    50: '#ddd298',
    500: '#ccc06d',
    950: '#000000',
  },
}
SCSS
$custom: #ccc06d;
$custom-light: #ddd298;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc06d",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 109
  },
  "hsl": {
    "h": 52.421,
    "s": 48.223,
    "l": 61.373
  },
  "oklch": {
    "l": 0.79983,
    "c": 0.10544,
    "h": 101.2
  },
  "luminance": 0.51641
}

Semantic roles & 50–950 ramp

primary
#CCC06D
secondary
#495394
accent
#3CBC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC06D

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

Preview Lab → · Contrast checker → · Palette generator →

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