#CCC08F#CCC08F

#CCC08F is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.6% C 0.066 H 96.0°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#CCC08F
RGBrgb(204, 192, 143)
HSLhsl(48, 37%, 68%)
HSVhsv(48, 30%, 80%)
CMYKcmyk(0%, 5.9%, 29.9%, 20%)
CIE-LABlab(77.59, -3.29, 26.28)
CIE-LCHlch(77.59, 26.48, 97.13°)
OKLaboklab(80.57% -0.0069 0.066)
OKLCHoklch(80.57% 0.066 96)
XYZxyz(48.7098, 52.5210, 33.5529)
Luminance0.5252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC08F #8F9BCC
analogous
#CCA18F #CCC08F #B9CC8F
triadic
#CCC08F #8FCCC0 #C08FCC
tetradic
#CCC08F #8FCCA1 #8F9BCC #CC8FB9
square
#CCC08F #8FCCA1 #8F9BCC #CC8FB9
split-complementary
#CCC08F #8FB9CC #A18FCC
monochromatic
#9A8A46 #B9A865 #CCC08F #DFD8B9 #F2EFE3

Accessibility & contrast

On white

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

On black

11.50
#CCC08F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC08F
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC08F#FFFFFF#000000##000000
##CCC08F1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABD8C
Deuteranopia (green-blind)
#CDC291
Tritanopia (blue-blind)
#D5B9B3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc08f;
/* rgb */ color: rgb(204, 192, 143);
/* oklch */ color: oklch(80.6% 0.066 96.0);
Tailwind
colors: {
  custom: {
    50: '#dcd2b0',
    500: '#ccc08f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc08f;
$custom-light: #dcd2b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc08f",
  "rgb": {
    "r": 204,
    "g": 192,
    "b": 143
  },
  "hsl": {
    "h": 48.197,
    "s": 37.423,
    "l": 68.039
  },
  "oklch": {
    "l": 0.8057,
    "c": 0.0664,
    "h": 96
  },
  "luminance": 0.5252
}

Semantic roles & 50–950 ramp

primary
#CCC08F
secondary
#5E6BA1
accent
#4DB035
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCC08F

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

Preview Lab → · Contrast checker → · Palette generator →

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