#CCCB71#CCCB71

#CCCB71 is a very light, moderate yellow. Relative luminance 0.567; OKLCH L 82.4% C 0.113 H 108.1°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#CCCB71
RGBrgb(204, 203, 113)
HSLhsl(59, 47%, 62%)
HSVhsv(59, 45%, 80%)
CMYKcmyk(0%, 0.5%, 44.6%, 20%)
CIE-LABlab(80.03, -12.37, 44.80)
CIE-LCHlch(80.03, 46.48, 105.44°)
OKLaboklab(82.36% -0.0351 0.1074)
OKLCHoklch(82.36% 0.113 108.1)
XYZxyz(49.2394, 56.7426, 23.9782)
Luminance0.5674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB71 #7172CC
analogous
#CC9E71 #CCCB71 #9FCC71
triadic
#CCCB71 #71CCCB #CB71CC
tetradic
#CCCB71 #71CC9E #7172CC #CC719F
square
#CCCB71 #71CC9E #7172CC #CC719F
split-complementary
#CCCB71 #719FCC #9E71CC
monochromatic
#8F8E33 #BCBB44 #CCCB71 #DCDB9E #ECECCB

Accessibility & contrast

On white

1.70
#CCCB71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#CCCB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB71
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB71#FFFFFF#000000##000000
##CCCB711.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C469
Deuteranopia (green-blind)
#DAC875
Tritanopia (blue-blind)
#D7C1B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cccb71;
/* rgb */ color: rgb(204, 203, 113);
/* oklch */ color: oklch(82.4% 0.113 108.1);
Tailwind
colors: {
  custom: {
    50: '#ddda9b',
    500: '#cccb71',
    950: '#000000',
  },
}
SCSS
$custom: #cccb71;
$custom-light: #ddda9b;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb71",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 113
  },
  "hsl": {
    "h": 59.341,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82357,
    "c": 0.11302,
    "h": 108.1
  },
  "luminance": 0.56741
}

Semantic roles & 50–950 ramp

primary
#CCCB71
secondary
#4B4C96
accent
#2DBA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCCB71

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

Preview Lab → · Contrast checker → · Palette generator →

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