#CCCD71#CCCD71

#CCCD71 is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.115 H 109.2°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#CCCD71
RGBrgb(204, 205, 113)
HSLhsl(61, 48%, 62%)
HSVhsv(61, 45%, 80%)
CMYKcmyk(0.5%, 0%, 44.9%, 19.6%)
CIE-LABlab(80.57, -13.38, 45.45)
CIE-LCHlch(80.57, 47.38, 106.41°)
OKLaboklab(82.78% -0.038 0.1089)
OKLCHoklch(82.78% 0.115 109.2)
XYZxyz(49.7147, 57.6933, 24.1366)
Luminance0.5769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCD71 #7271CD
analogous
#CDA071 #CCCD71 #9ECD71
triadic
#CCCD71 #71CCCD #CD71CC
tetradic
#CCCD71 #71CDA0 #7271CD #CD719E
square
#CCCD71 #71CDA0 #7271CD #CD719E
split-complementary
#CCCD71 #719ECD #A071CD
monochromatic
#909133 #BCBD44 #CCCD71 #DCDD9E #EDEDCC

Accessibility & contrast

On white

1.67
#CCCD71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#CCCD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCD71
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCD71#FFFFFF#000000##000000
##CCCD711.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC669
Deuteranopia (green-blind)
#DBCA75
Tritanopia (blue-blind)
#D7C3B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cccd71;
/* rgb */ color: rgb(204, 205, 113);
/* oklch */ color: oklch(82.8% 0.115 109.2);
Tailwind
colors: {
  custom: {
    50: '#dddc9b',
    500: '#cccd71',
    950: '#000000',
  },
}
SCSS
$custom: #cccd71;
$custom-light: #dddc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cccd71",
  "rgb": {
    "r": 204,
    "g": 205,
    "b": 113
  },
  "hsl": {
    "h": 60.652,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.82782,
    "c": 0.11532,
    "h": 109.2
  },
  "luminance": 0.57692
}

Semantic roles & 50–950 ramp

primary
#CCCD71
secondary
#4C4B97
accent
#2ABB2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CCCD71

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

Preview Lab → · Contrast checker → · Palette generator →

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