#CCC199#CCC199

#CCC199 is a light, muted yellow. Relative luminance 0.533; OKLCH L 81.0% C 0.055 H 94.5°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CCC199
RGBrgb(204, 193, 153)
HSLhsl(47, 33%, 70%)
HSVhsv(47, 25%, 80%)
CMYKcmyk(0%, 5.4%, 25%, 20%)
CIE-LABlab(78.04, -2.46, 21.58)
CIE-LCHlch(78.04, 21.72, 96.51°)
OKLaboklab(80.99% -0.0043 0.0549)
OKLCHoklch(80.99% 0.055 94.5)
XYZxyz(49.7217, 53.2783, 37.7953)
Luminance0.5328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC199 #99A4CC
analogous
#CCA899 #CCC199 #BDCC99
triadic
#CCC199 #99CCC1 #C199CC
tetradic
#CCC199 #99CCA8 #99A4CC #CC99BD
square
#CCC199 #99CCA8 #99A4CC #CC99BD
split-complementary
#CCC199 #99BDCC #A899CC
monochromatic
#9C8C4E #B8A870 #CCC199 #E0DAC2 #F5F3EB

Accessibility & contrast

On white

1.80
#CCC199 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#CCC199 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC199
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC199#FFFFFF#000000##000000
##CCC1991.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABF96
Deuteranopia (green-blind)
#CDC39A
Tritanopia (blue-blind)
#D4BBB6
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #ccc199;
/* rgb */ color: rgb(204, 193, 153);
/* oklch */ color: oklch(81.0% 0.055 94.5);
Tailwind
colors: {
  custom: {
    50: '#dcd3b7',
    500: '#ccc199',
    950: '#000000',
  },
}
SCSS
$custom: #ccc199;
$custom-light: #dcd3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc199",
  "rgb": {
    "r": 204,
    "g": 193,
    "b": 153
  },
  "hsl": {
    "h": 47.059,
    "s": 33.333,
    "l": 70
  },
  "oklch": {
    "l": 0.80985,
    "c": 0.05502,
    "h": 94.5
  },
  "luminance": 0.53277
}

Semantic roles & 50–950 ramp

primary
#CCC199
secondary
#6874A1
accent
#52AC39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCC199

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

Preview Lab → · Contrast checker → · Palette generator →

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