#CCC472#CCC472

#CCC472 is a light, moderate yellow. Relative luminance 0.535; OKLCH L 80.9% C 0.104 H 103.6°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#CCC472
RGBrgb(204, 196, 114)
HSLhsl(55, 47%, 62%)
HSVhsv(55, 44%, 80%)
CMYKcmyk(0%, 3.9%, 44.1%, 20%)
CIE-LABlab(78.19, -8.70, 42.02)
CIE-LCHlch(78.19, 42.91, 101.70°)
OKLaboklab(80.9% -0.0245 0.1013)
OKLCHoklch(80.9% 0.104 103.6)
XYZxyz(47.6801, 53.5335, 23.7377)
Luminance0.5353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC472 #727ACC
analogous
#CC9772 #CCC472 #A7CC72
triadic
#CCC472 #72CCC4 #C472CC
tetradic
#CCC472 #72CC97 #727ACC #CC72A7
square
#CCC472 #72CC97 #727ACC #CC72A7
split-complementary
#CCC472 #72A7CC #9772CC
monochromatic
#908734 #BCB145 #CCC472 #DCD79F #EDEACC

Accessibility & contrast

On white

1.79
#CCC472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#CCC472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC472
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC472#FFFFFF#000000##000000
##CCC4721.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF6B
Deuteranopia (green-blind)
#D4C376
Tritanopia (blue-blind)
#D8BAB0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc472;
/* rgb */ color: rgb(204, 196, 114);
/* oklch */ color: oklch(80.9% 0.104 103.6);
Tailwind
colors: {
  custom: {
    50: '#ddd59c',
    500: '#ccc472',
    950: '#000000',
  },
}
SCSS
$custom: #ccc472;
$custom-light: #ddd59c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc472",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 114
  },
  "hsl": {
    "h": 54.667,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.80895,
    "c": 0.10422,
    "h": 103.6
  },
  "luminance": 0.53532
}

Semantic roles & 50–950 ramp

primary
#CCC472
secondary
#4C5396
accent
#38BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC472

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

Preview Lab → · Contrast checker → · Palette generator →

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