#CCC08D#CCC08D

#CCC08D is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.5% C 0.069 H 96.5°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#CCC08D
RGBrgb(204, 192, 141)
HSLhsl(49, 38%, 68%)
HSVhsv(49, 31%, 80%)
CMYKcmyk(0%, 5.9%, 30.9%, 20%)
CIE-LABlab(77.56, -3.54, 27.28)
CIE-LCHlch(77.56, 27.51, 97.40°)
OKLaboklab(80.53% -0.0077 0.0684)
OKLCHoklch(80.53% 0.069 96.5)
XYZxyz(48.5597, 52.4609, 32.7621)
Luminance0.5246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC08D #8D99CC
analogous
#CCA08D #CCC08D #B9CC8D
triadic
#CCC08D #8DCCC0 #C08DCC
tetradic
#CCC08D #8DCCA0 #8D99CC #CC8DB9
square
#CCC08D #8DCCA0 #8D99CC #CC8DB9
split-complementary
#CCC08D #8DB9CC #A08DCC
monochromatic
#9A8A45 #B9A963 #CCC08D #DFD7B7 #F2EFE2

Accessibility & contrast

On white

1.83
#CCC08D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#CCC08D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC08D
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC08D#FFFFFF#000000##000000
##CCC08D1.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABD8A
Deuteranopia (green-blind)
#CEC18F
Tritanopia (blue-blind)
#D6B9B3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc08d;
/* rgb */ color: rgb(204, 192, 141);
/* oklch */ color: oklch(80.5% 0.069 96.5);
Tailwind
colors: {
  custom: {
    50: '#dcd2ae',
    500: '#ccc08d',
    950: '#000000',
  },
}
SCSS
$custom: #ccc08d;
$custom-light: #dcd2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc08d",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 141
  },
  "hsl": {
    "h": 48.571,
    "s": 38.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.8053,
    "c": 0.06884,
    "h": 96.5
  },
  "luminance": 0.5246
}

Semantic roles & 50–950 ramp

primary
#CCC08D
secondary
#5D6AA0
accent
#4CB134
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCC08D

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

Preview Lab → · Contrast checker → · Palette generator →

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