#CCC06B#CCC06B

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

Color values

HEX#CCC06B
RGBrgb(204, 192, 107)
HSLhsl(53, 49%, 61%)
HSVhsv(53, 48%, 80%)
CMYKcmyk(0%, 5.9%, 47.5%, 20%)
CIE-LABlab(77.04, -7.32, 44.09)
CIE-LCHlch(77.04, 44.70, 99.43°)
OKLaboklab(79.96% -0.0212 0.1054)
OKLCHoklch(79.96% 0.108 101.3)
XYZxyz(46.4065, 51.5997, 21.4223)
Luminance0.5160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC06B #6B77CC
analogous
#CC8F6B #CCC06B #A7CC6B
triadic
#CCC06B #6BCCC0 #C06BCC
tetradic
#CCC06B #6BCC8F #6B77CC #CC6BA7
square
#CCC06B #6BCC8F #6B77CC #CC6BA7
split-complementary
#CCC06B #6BA7CC #8F6BCC
monochromatic
#8C8130 #BAAB40 #CCC06B #DCD399 #EBE7C6

Accessibility & contrast

On white

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

On black

11.32
#CCC06B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC06B
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC06B#FFFFFF#000000##000000
##CCC06B1.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc06b;
/* rgb */ color: rgb(204, 192, 107);
/* oklch */ color: oklch(80.0% 0.108 101.3);
Tailwind
colors: {
  custom: {
    50: '#ddd297',
    500: '#ccc06b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc06b;
$custom-light: #ddd297;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc06b",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 107
  },
  "hsl": {
    "h": 52.577,
    "s": 48.744,
    "l": 60.98
  },
  "oklch": {
    "l": 0.79955,
    "c": 0.10753,
    "h": 101.3
  },
  "luminance": 0.51598
}

Semantic roles & 50–950 ramp

primary
#CCC06B
secondary
#485193
accent
#3CBC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC06B

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

Preview Lab → · Contrast checker → · Palette generator →

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