#CCC899#CCC899

#CCC899 is a very light, moderate yellow. Relative luminance 0.564; OKLCH L 82.4% C 0.063 H 103.6°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#CCC899
RGBrgb(204, 200, 153)
HSLhsl(55, 33%, 70%)
HSVhsv(55, 25%, 80%)
CMYKcmyk(0%, 2%, 25%, 20%)
CIE-LABlab(79.87, -6.11, 24.08)
CIE-LCHlch(79.87, 24.84, 104.24°)
OKLaboklab(82.43% -0.0148 0.0609)
OKLCHoklch(82.43% 0.063 103.6)
XYZxyz(51.3059, 56.4467, 38.3234)
Luminance0.5645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC899 #999DCC
analogous
#CCAE99 #CCC899 #B7CC99
triadic
#CCC899 #99CCC8 #C899CC
tetradic
#CCC899 #99CCAE #999DCC #CC99B7
square
#CCC899 #99CCAE #999DCC #CC99B7
split-complementary
#CCC899 #99B7CC #AE99CC
monochromatic
#9C964E #B8B270 #CCC899 #E0DEC2 #F5F4EB

Accessibility & contrast

On white

1.71
#CCC899 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#CCC899 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC899
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC899#FFFFFF#000000##000000
##CCC8991.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C496
Deuteranopia (green-blind)
#D2C79B
Tritanopia (blue-blind)
#D4C2BB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ccc899;
/* rgb */ color: rgb(204, 200, 153);
/* oklch */ color: oklch(82.4% 0.063 103.6);
Tailwind
colors: {
  custom: {
    50: '#dcd8b7',
    500: '#ccc899',
    950: '#000000',
  },
}
SCSS
$custom: #ccc899;
$custom-light: #dcd8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc899",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 153
  },
  "hsl": {
    "h": 55.294,
    "s": 33.333,
    "l": 70
  },
  "oklch": {
    "l": 0.82429,
    "c": 0.06268,
    "h": 103.6
  },
  "luminance": 0.56446
}

Semantic roles & 50–950 ramp

primary
#CCC899
secondary
#686DA1
accent
#42AC39
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCC899

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

Preview Lab → · Contrast checker → · Palette generator →

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