#CCC06F#CCC06F

#CCC06F is a light, moderate yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.103 H 101.0°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#CCC06F
RGBrgb(204, 192, 111)
HSLhsl(52, 48%, 62%)
HSVhsv(52, 46%, 80%)
CMYKcmyk(0%, 5.9%, 45.6%, 20%)
CIE-LABlab(77.09, -6.94, 42.16)
CIE-LCHlch(77.09, 42.73, 99.34°)
OKLaboklab(80.01% -0.0197 0.1014)
OKLCHoklch(80.01% 0.103 101)
XYZxyz(46.6219, 51.6858, 22.5563)
Luminance0.5168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC06F #6F7BCC
analogous
#CC926F #CCC06F #AACC6F
triadic
#CCC06F #6FCCC0 #C06FCC
tetradic
#CCC06F #6FCC92 #6F7BCC #CC6FAA
square
#CCC06F #6FCC92 #6F7BCC #CC6FAA
split-complementary
#CCC06F #6FAACC #926FCC
monochromatic
#8E8232 #BBAC42 #CCC06F #DCD49C #ECE8C9

Accessibility & contrast

On white

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

On black

11.34
#CCC06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC06F
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC06F#FFFFFF#000000##000000
##CCC06F1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBB68
Deuteranopia (green-blind)
#D1C172
Tritanopia (blue-blind)
#D8B6AD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc06f;
/* rgb */ color: rgb(204, 192, 111);
/* oklch */ color: oklch(80.0% 0.103 101.0);
Tailwind
colors: {
  custom: {
    50: '#ddd29a',
    500: '#ccc06f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc06f;
$custom-light: #ddd29a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc06f",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 111
  },
  "hsl": {
    "h": 52.258,
    "s": 47.692,
    "l": 61.765
  },
  "oklch": {
    "l": 0.80012,
    "c": 0.10332,
    "h": 101
  },
  "luminance": 0.51684
}

Semantic roles & 50–950 ramp

primary
#CCC06F
secondary
#4A5495
accent
#3DBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC06F

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

Preview Lab → · Contrast checker → · Palette generator →

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