#CCC299#CCC299

#CCC299 is a light, muted yellow. Relative luminance 0.537; OKLCH L 81.2% C 0.056 H 96.0°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#CCC299
RGBrgb(204, 194, 153)
HSLhsl(48, 33%, 70%)
HSVhsv(48, 25%, 80%)
CMYKcmyk(0%, 4.9%, 25%, 20%)
CIE-LABlab(78.30, -2.99, 21.94)
CIE-LCHlch(78.30, 22.14, 97.76°)
OKLaboklab(81.19% -0.0058 0.0557)
OKLCHoklch(81.19% 0.056 96)
XYZxyz(49.9435, 53.7219, 37.8692)
Luminance0.5372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC299 #99A3CC
analogous
#CCA899 #CCC299 #BDCC99
triadic
#CCC299 #99CCC2 #C299CC
tetradic
#CCC299 #99CCA8 #99A3CC #CC99BD
square
#CCC299 #99CCA8 #99A3CC #CC99BD
split-complementary
#CCC299 #99BDCC #A899CC
monochromatic
#9C8D4E #B8AA70 #CCC299 #E0DAC2 #F5F3EB

Accessibility & contrast

On white

1.79
#CCC299 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#CCC299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC299
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC299#FFFFFF#000000##000000
##CCC2991.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBC096
Deuteranopia (green-blind)
#CDC39A
Tritanopia (blue-blind)
#D4BCB7
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #ccc299;
/* rgb */ color: rgb(204, 194, 153);
/* oklch */ color: oklch(81.2% 0.056 96.0);
Tailwind
colors: {
  custom: {
    50: '#dcd4b7',
    500: '#ccc299',
    950: '#000000',
  },
}
SCSS
$custom: #ccc299;
$custom-light: #dcd4b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc299",
  "rgb": {
    "r": 204,
    "g": 194,
    "b": 153
  },
  "hsl": {
    "h": 48.235,
    "s": 33.333,
    "l": 70
  },
  "oklch": {
    "l": 0.8119,
    "c": 0.05602,
    "h": 96
  },
  "luminance": 0.53721
}

Semantic roles & 50–950 ramp

primary
#CCC299
secondary
#6873A1
accent
#50AC39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCC299

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

Preview Lab → · Contrast checker → · Palette generator →

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