#CCC571#CCC571

#CCC571 is a light, moderate yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.106 H 104.3°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#CCC571
RGBrgb(204, 197, 113)
HSLhsl(55, 47%, 62%)
HSVhsv(55, 45%, 80%)
CMYKcmyk(0%, 3.4%, 44.6%, 20%)
CIE-LABlab(78.44, -9.31, 42.83)
CIE-LCHlch(78.44, 43.84, 102.27°)
OKLaboklab(81.09% -0.0263 0.1031)
OKLCHoklch(81.09% 0.106 104.3)
XYZxyz(47.8498, 53.9634, 23.5150)
Luminance0.5396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC571 #7178CC
analogous
#CC9871 #CCC571 #A5CC71
triadic
#CCC571 #71CCC5 #C571CC
tetradic
#CCC571 #71CC98 #7178CC #CC71A5
square
#CCC571 #71CC98 #7178CC #CC71A5
split-complementary
#CCC571 #71A5CC #9871CC
monochromatic
#8F8833 #BCB344 #CCC571 #DCD79E #ECEACB

Accessibility & contrast

On white

1.78
#CCC571 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#CCC571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC571
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC571#FFFFFF#000000##000000
##CCC5711.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C06A
Deuteranopia (green-blind)
#D5C475
Tritanopia (blue-blind)
#D8BBB1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc571;
/* rgb */ color: rgb(204, 197, 113);
/* oklch */ color: oklch(81.1% 0.106 104.3);
Tailwind
colors: {
  custom: {
    50: '#ddd69b',
    500: '#ccc571',
    950: '#000000',
  },
}
SCSS
$custom: #ccc571;
$custom-light: #ddd69b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc571",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 113
  },
  "hsl": {
    "h": 55.385,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.8109,
    "c": 0.10637,
    "h": 104.3
  },
  "luminance": 0.53962
}

Semantic roles & 50–950 ramp

primary
#CCC571
secondary
#4B5196
accent
#36BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC571

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

Preview Lab → · Contrast checker → · Palette generator →

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