#CCCB7D#CCCB7D

#CCCB7D is a very light, moderate yellow. Relative luminance 0.570; OKLCH L 82.5% C 0.100 H 107.8°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#CCCB7D
RGBrgb(204, 203, 125)
HSLhsl(59, 44%, 65%)
HSVhsv(59, 39%, 80%)
CMYKcmyk(0%, 0.5%, 38.7%, 20%)
CIE-LABlab(80.20, -11.12, 39.02)
CIE-LCHlch(80.20, 40.57, 105.91°)
OKLaboklab(82.54% -0.0305 0.0952)
OKLCHoklch(82.54% 0.1 107.8)
XYZxyz(49.9601, 57.0309, 27.7743)
Luminance0.5703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCB7D #7D7ECC
analogous
#CCA47D #CCCB7D #A5CC7D
triadic
#CCCB7D #7DCCCB #CB7DCC
tetradic
#CCCB7D #7DCCA4 #7D7ECC #CC7DA5
square
#CCCB7D #7DCCA4 #7D7ECC #CC7DA5
split-complementary
#CCCB7D #7DA5CC #A47DCC
monochromatic
#94933A #BBB951 #CCCB7D #DDDDA9 #EEEED5

Accessibility & contrast

On white

1.69
#CCCB7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#CCCB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCB7D
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCB7D#FFFFFF#000000##000000
##CCCB7D1.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C577
Deuteranopia (green-blind)
#D8C880
Tritanopia (blue-blind)
#D6C2B8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cccb7d;
/* rgb */ color: rgb(204, 203, 125);
/* oklch */ color: oklch(82.5% 0.100 107.8);
Tailwind
colors: {
  custom: {
    50: '#dddaa4',
    500: '#cccb7d',
    950: '#000000',
  },
}
SCSS
$custom: #cccb7d;
$custom-light: #dddaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#cccb7d",
  "rgb": {
    "r": 204,
    "g": 203,
    "b": 125
  },
  "hsl": {
    "h": 59.241,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.82539,
    "c": 0.09992,
    "h": 107.8
  },
  "luminance": 0.5703
}

Semantic roles & 50–950 ramp

primary
#CCCB7D
secondary
#52539B
accent
#30B72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCCB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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