#CCCB73#CCCB73

#CCCB73 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.4% C 0.111 H 108.0°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#CCCB73
RGBrgb(204, 203, 115)
HSLhsl(59, 47%, 63%)
HSVhsv(59, 44%, 80%)
CMYKcmyk(0%, 0.5%, 43.6%, 20%)
CIE-LABlab(80.06, -12.17, 43.85)
CIE-LCHlch(80.06, 45.51, 105.52°)
OKLaboklab(82.39% -0.0343 0.1055)
OKLCHoklch(82.39% 0.111 108)
XYZxyz(49.3532, 56.7882, 24.5777)
Luminance0.5679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB73 #7374CC
analogous
#CC9F73 #CCCB73 #A0CC73
triadic
#CCCB73 #73CCCB #CB73CC
tetradic
#CCCB73 #73CC9F #7374CC #CC73A0
square
#CCCB73 #73CC9F #7374CC #CC73A0
split-complementary
#CCCB73 #73A0CC #9F73CC
monochromatic
#908F34 #BCBA46 #CCCB73 #DCDCA0 #EDECCD

Accessibility & contrast

On white

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

On black

12.36
#CCCB73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB73
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB73#FFFFFF#000000##000000
##CCCB731.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cccb73;
/* rgb */ color: rgb(204, 203, 115);
/* oklch */ color: oklch(82.4% 0.111 108.0);
Tailwind
colors: {
  custom: {
    50: '#ddda9d',
    500: '#cccb73',
    950: '#000000',
  },
}
SCSS
$custom: #cccb73;
$custom-light: #ddda9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb73",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 115
  },
  "hsl": {
    "h": 59.326,
    "s": 46.597,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82386,
    "c": 0.1109,
    "h": 108
  },
  "luminance": 0.56787
}

Semantic roles & 50–950 ramp

primary
#CCCB73
secondary
#4D4D97
accent
#2DBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCCB73

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

Preview Lab → · Contrast checker → · Palette generator →

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