#CCBC71#CCBC71

#CCBC71 is a light, moderate yellow. Relative luminance 0.500; OKLCH L 79.2% C 0.097 H 97.6°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#CCBC71
RGBrgb(204, 188, 113)
HSLhsl(49, 47%, 62%)
HSVhsv(49, 45%, 80%)
CMYKcmyk(0%, 7.8%, 44.6%, 20%)
CIE-LABlab(76.07, -4.66, 39.88)
CIE-LCHlch(76.07, 40.15, 96.66°)
OKLaboklab(79.21% -0.0129 0.0964)
OKLCHoklch(79.21% 0.097 97.6)
XYZxyz(45.8669, 49.9976, 22.8540)
Luminance0.5000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC71 #7181CC
analogous
#CC8F71 #CCBC71 #AECC71
triadic
#CCBC71 #71CCBC #BC71CC
tetradic
#CCBC71 #71CC8F #7181CC #CC71AE
square
#CCBC71 #71CC8F #7181CC #CC71AE
split-complementary
#CCBC71 #71AECC #8F71CC
monochromatic
#8F7F33 #BCA744 #CCBC71 #DCD19E #ECE6CB

Accessibility & contrast

On white

1.91
#CCBC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#CCBC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC71
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC71#FFFFFF#000000##000000
##CCBC711.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB86B
Deuteranopia (green-blind)
#CEBE74
Tritanopia (blue-blind)
#D8B2AA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbc71;
/* rgb */ color: rgb(204, 188, 113);
/* oklch */ color: oklch(79.2% 0.097 97.6);
Tailwind
colors: {
  custom: {
    50: '#ddd09b',
    500: '#ccbc71',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc71;
$custom-light: #ddd09b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc71",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 113
  },
  "hsl": {
    "h": 49.451,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.7921,
    "c": 0.0973,
    "h": 97.6
  },
  "luminance": 0.49996
}

Semantic roles & 50–950 ramp

primary
#CCBC71
secondary
#BCC2DD
accent
#44BA2B
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCBC71

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

Preview Lab → · Contrast checker → · Palette generator →

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