#CCCA9D#CCCA9D

#CCCA9D is a very light, moderate yellow. Relative luminance 0.575; OKLCH L 82.9% C 0.060 H 105.5°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#CCCA9D
RGBrgb(204, 202, 157)
HSLhsl(57, 32%, 71%)
HSVhsv(57, 23%, 80%)
CMYKcmyk(0%, 1%, 23%, 20%)
CIE-LABlab(80.47, -6.59, 22.79)
CIE-LCHlch(80.47, 23.72, 106.12°)
OKLaboklab(82.93% -0.0161 0.0578)
OKLCHoklch(82.93% 0.06 105.5)
XYZxyz(52.1081, 57.5135, 40.2479)
Luminance0.5751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA9D #9D9FCC
analogous
#CCB29D #CCCA9D #B6CC9D
triadic
#CCCA9D #9DCCCA #CA9DCC
tetradic
#CCCA9D #9DCCB2 #9D9FCC #CC9DB6
square
#CCCA9D #9DCCB2 #9D9FCC #CC9DB6
split-complementary
#CCCA9D #9DB6CC #B29DCC
monochromatic
#9D9A52 #B7B475 #CCCA9D #E1E0C5 #F5F4EB

Accessibility & contrast

On white

1.68
#CCCA9D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#CCCA9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA9D
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA9D#FFFFFF#000000##000000
##CCCA9D1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C69A
Deuteranopia (green-blind)
#D3C99F
Tritanopia (blue-blind)
#D3C4BE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ccca9d;
/* rgb */ color: rgb(204, 202, 157);
/* oklch */ color: oklch(82.9% 0.060 105.5);
Tailwind
colors: {
  custom: {
    50: '#dcdaba',
    500: '#ccca9d',
    950: '#000000',
  },
}
SCSS
$custom: #ccca9d;
$custom-light: #dcdaba;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca9d",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 157
  },
  "hsl": {
    "h": 57.447,
    "s": 31.544,
    "l": 70.784
  },
  "oklch": {
    "l": 0.82928,
    "c": 0.06003,
    "h": 105.5
  },
  "luminance": 0.57513
}

Semantic roles & 50–950 ramp

primary
#CCCA9D
secondary
#6C6EA1
accent
#40AA3B
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CCCA9D

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

Preview Lab → · Contrast checker → · Palette generator →

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