#CCC06E#CCC06E

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

Color values

HEX#CCC06E
RGBrgb(204, 192, 110)
HSLhsl(52, 48%, 62%)
HSVhsv(52, 46%, 80%)
CMYKcmyk(0%, 5.9%, 46.1%, 20%)
CIE-LABlab(77.08, -7.03, 42.65)
CIE-LCHlch(77.08, 43.22, 99.37°)
OKLaboklab(80% -0.02 0.1024)
OKLCHoklch(80% 0.104 101.1)
XYZxyz(46.5671, 51.6639, 22.2680)
Luminance0.5166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC06E #6E7ACC
analogous
#CC916E #CCC06E #A9CC6E
triadic
#CCC06E #6ECCC0 #C06ECC
tetradic
#CCC06E #6ECC91 #6E7ACC #CC6EA9
square
#CCC06E #6ECC91 #6E7ACC #CC6EA9
split-complementary
#CCC06E #6EA9CC #916ECC
monochromatic
#8E8232 #BBAC42 #CCC06E #DCD49B #ECE7C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC06E#FFFFFF#000000##000000
##CCC06E1.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)
#CEBB67
Deuteranopia (green-blind)
#D1C171
Tritanopia (blue-blind)
#D8B6AC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ccc06e;
/* rgb */ color: rgb(204, 192, 110);
/* oklch */ color: oklch(80.0% 0.104 101.1);
Tailwind
colors: {
  custom: {
    50: '#ddd299',
    500: '#ccc06e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc06e;
$custom-light: #ddd299;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc06e",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 110
  },
  "hsl": {
    "h": 52.34,
    "s": 47.959,
    "l": 61.569
  },
  "oklch": {
    "l": 0.79998,
    "c": 0.10438,
    "h": 101.1
  },
  "luminance": 0.51662
}

Semantic roles & 50–950 ramp

primary
#CCC06E
secondary
#4A5394
accent
#3DBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC06E

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

Preview Lab → · Contrast checker → · Palette generator →

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