#CCBC72#CCBC72

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

Color values

HEX#CCBC72
RGBrgb(204, 188, 114)
HSLhsl(49, 47%, 62%)
HSVhsv(49, 44%, 80%)
CMYKcmyk(0%, 7.8%, 44.1%, 20%)
CIE-LABlab(76.08, -4.56, 39.39)
CIE-LCHlch(76.08, 39.65, 96.60°)
OKLaboklab(79.22% -0.0125 0.0954)
OKLCHoklch(79.22% 0.096 97.5)
XYZxyz(45.9235, 50.0203, 23.1521)
Luminance0.5002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC72 #7282CC
analogous
#CC8F72 #CCBC72 #AFCC72
triadic
#CCBC72 #72CCBC #BC72CC
tetradic
#CCBC72 #72CC8F #7282CC #CC72AF
square
#CCBC72 #72CC8F #7282CC #CC72AF
split-complementary
#CCBC72 #72AFCC #8F72CC
monochromatic
#907F34 #BCA745 #CCBC72 #DCD19F #EDE7CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCBC72#FFFFFF#000000##000000
##CCBC721.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)
#C9B86C
Deuteranopia (green-blind)
#CEBE75
Tritanopia (blue-blind)
#D8B2AA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #ccbc72;
/* rgb */ color: rgb(204, 188, 114);
/* oklch */ color: oklch(79.2% 0.096 97.5);
Tailwind
colors: {
  custom: {
    50: '#ddd09c',
    500: '#ccbc72',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc72;
$custom-light: #ddd09c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc72",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 114
  },
  "hsl": {
    "h": 49.333,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.79225,
    "c": 0.09621,
    "h": 97.5
  },
  "luminance": 0.50019
}

Semantic roles & 50–950 ramp

primary
#CCBC72
secondary
#4C5996
accent
#45BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15130E
muted
#84837F

Preview Lab

Preview with #CCBC72

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

Preview Lab → · Contrast checker → · Palette generator →

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