#C8CC99#C8CC99

#C8CC99 is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 82.9% C 0.068 H 111.5°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#C8CC99
RGBrgb(200, 204, 153)
HSLhsl(65, 33%, 70%)
HSVhsv(65, 25%, 80%)
CMYKcmyk(2%, 0%, 25%, 20%)
CIE-LABlab(80.61, -9.68, 25.04)
CIE-LCHlch(80.61, 26.84, 111.15°)
OKLaboklab(82.94% -0.0249 0.0632)
OKLCHoklch(82.94% 0.068 111.5)
XYZxyz(51.1619, 57.7655, 38.5855)
Luminance0.5776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC99 #9D99CC
analogous
#CCB799 #C8CC99 #AECC99
triadic
#C8CC99 #99C8CC #CC99C8
tetradic
#C8CC99 #99CCB7 #9D99CC #CC99AE
square
#C8CC99 #99CCB7 #9D99CC #CC99AE
split-complementary
#C8CC99 #99AECC #B799CC
monochromatic
#969C4E #B2B870 #C8CC99 #DEE0C2 #F4F5EB

Accessibility & contrast

On white

1.67
#C8CC99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#C8CC99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC99
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC99#FFFFFF#000000##000000
##C8CC991.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C796
Deuteranopia (green-blind)
#D4C99B
Tritanopia (blue-blind)
#CFC6BE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c8cc99;
/* rgb */ color: rgb(200, 204, 153);
/* oklch */ color: oklch(82.9% 0.068 111.5);
Tailwind
colors: {
  custom: {
    50: '#d9dbb7',
    500: '#c8cc99',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc99;
$custom-light: #d9dbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc99",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 153
  },
  "hsl": {
    "h": 64.706,
    "s": 33.333,
    "l": 70
  },
  "oklch": {
    "l": 0.82939,
    "c": 0.06798,
    "h": 111.5
  },
  "luminance": 0.57765
}

Semantic roles & 50–950 ramp

primary
#C8CC99
secondary
#6D68A1
accent
#39AC42
background
#FEFEFD
surface
#FBFBF8
border
#D4D4D1
text
#141511
muted
#838481

Preview Lab

Preview with #C8CC99

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

Preview Lab → · Contrast checker → · Palette generator →

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