#CCC072#CCC072

#CCC072 is a light, moderate yellow. Relative luminance 0.518; OKLCH L 80.1% C 0.100 H 100.7°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#CCC072
RGBrgb(204, 192, 114)
HSLhsl(52, 47%, 62%)
HSVhsv(52, 44%, 80%)
CMYKcmyk(0%, 5.9%, 44.1%, 20%)
CIE-LABlab(77.13, -6.64, 40.71)
CIE-LCHlch(77.13, 41.24, 99.26°)
OKLaboklab(80.06% -0.0185 0.0984)
OKLCHoklch(80.06% 0.1 100.7)
XYZxyz(46.7898, 51.7530, 23.4409)
Luminance0.5175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC072 #727ECC
analogous
#CC9372 #CCC072 #ABCC72
triadic
#CCC072 #72CCC0 #C072CC
tetradic
#CCC072 #72CC93 #727ECC #CC72AB
square
#CCC072 #72CC93 #727ECC #CC72AB
split-complementary
#CCC072 #72ABCC #9372CC
monochromatic
#908334 #BCAC45 #CCC072 #DCD49F #EDE8CC

Accessibility & contrast

On white

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

On black

11.35
#CCC072 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC072
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC072#FFFFFF#000000##000000
##CCC0721.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc072;
/* rgb */ color: rgb(204, 192, 114);
/* oklch */ color: oklch(80.1% 0.100 100.7);
Tailwind
colors: {
  custom: {
    50: '#ddd29c',
    500: '#ccc072',
    950: '#000000',
  },
}
SCSS
$custom: #ccc072;
$custom-light: #ddd29c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc072",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 114
  },
  "hsl": {
    "h": 52,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.80058,
    "c": 0.10009,
    "h": 100.7
  },
  "luminance": 0.51752
}

Semantic roles & 50–950 ramp

primary
#CCC072
secondary
#4C5696
accent
#3EBA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC072

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

Preview Lab → · Contrast checker → · Palette generator →

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