#CCBC73#CCBC73

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

Color values

HEX#CCBC73
RGBrgb(204, 188, 115)
HSLhsl(49, 47%, 63%)
HSVhsv(49, 44%, 80%)
CMYKcmyk(0%, 7.8%, 43.6%, 20%)
CIE-LABlab(76.10, -4.46, 38.90)
CIE-LCHlch(76.10, 39.15, 96.54°)
OKLaboklab(79.24% -0.0121 0.0943)
OKLCHoklch(79.24% 0.095 97.3)
XYZxyz(45.9807, 50.0432, 23.4536)
Luminance0.5004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCBC73 #7383CC
analogous
#CC8F73 #CCBC73 #B0CC73
triadic
#CCBC73 #73CCBC #BC73CC
tetradic
#CCBC73 #73CC8F #7383CC #CC73B0
square
#CCBC73 #73CC8F #7383CC #CC73B0
split-complementary
#CCBC73 #73B0CC #8F73CC
monochromatic
#908034 #BCA746 #CCBC73 #DCD1A0 #EDE7CD

Accessibility & contrast

On white

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

On black

11.01
#CCBC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCBC73
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCBC73#FFFFFF#000000##000000
##CCBC731.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccbc73;
/* rgb */ color: rgb(204, 188, 115);
/* oklch */ color: oklch(79.2% 0.095 97.3);
Tailwind
colors: {
  custom: {
    50: '#ddd09c',
    500: '#ccbc73',
    950: '#000000',
  },
}
SCSS
$custom: #ccbc73;
$custom-light: #ddd09c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccbc73",
  "rgb": {
    "r": 204,
    "g": 188,
    "b": 115
  },
  "hsl": {
    "h": 49.213,
    "s": 46.597,
    "l": 62.549
  },
  "oklch": {
    "l": 0.79241,
    "c": 0.09512,
    "h": 97.3
  },
  "luminance": 0.50042
}

Semantic roles & 50–950 ramp

primary
#CCBC73
secondary
#4D5A97
accent
#45BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15130E
muted
#84837F

Preview Lab

Preview with #CCBC73

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

Preview Lab → · Contrast checker → · Palette generator →

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