#CCC08B#CCC08B

#CCC08B is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.5% C 0.071 H 96.9°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#CCC08B
RGBrgb(204, 192, 139)
HSLhsl(49, 39%, 67%)
HSVhsv(49, 32%, 80%)
CMYKcmyk(0%, 5.9%, 31.9%, 20%)
CIE-LABlab(77.52, -3.80, 28.29)
CIE-LCHlch(77.52, 28.54, 97.64°)
OKLaboklab(80.49% -0.0086 0.0707)
OKLCHoklch(80.49% 0.071 96.9)
XYZxyz(48.4122, 52.4020, 31.9854)
Luminance0.5240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC08B #8B97CC
analogous
#CCA08B #CCC08B #B8CC8B
triadic
#CCC08B #8BCCC0 #C08BCC
tetradic
#CCC08B #8BCCA0 #8B97CC #CC8BB8
square
#CCC08B #8BCCA0 #8B97CC #CC8BB8
split-complementary
#CCC08B #8BB8CC #A08BCC
monochromatic
#998943 #B9A960 #CCC08B #DFD7B6 #F1EEE0

Accessibility & contrast

On white

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

On black

11.48
#CCC08B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC08B
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC08B#FFFFFF#000000##000000
##CCC08B1.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABD87
Deuteranopia (green-blind)
#CEC18D
Tritanopia (blue-blind)
#D6B8B2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ccc08b;
/* rgb */ color: rgb(204, 192, 139);
/* oklch */ color: oklch(80.5% 0.071 96.9);
Tailwind
colors: {
  custom: {
    50: '#dcd2ad',
    500: '#ccc08b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc08b;
$custom-light: #dcd2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc08b",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 139
  },
  "hsl": {
    "h": 48.923,
    "s": 38.922,
    "l": 67.255
  },
  "oklch": {
    "l": 0.80491,
    "c": 0.07126,
    "h": 96.9
  },
  "luminance": 0.52401
}

Semantic roles & 50–950 ramp

primary
#CCC08B
secondary
#5B68A0
accent
#4BB234
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCC08B

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

Preview Lab → · Contrast checker → · Palette generator →

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