#CCCA8B#CCCA8B

#CCCA8B is a very light, moderate yellow. Relative luminance 0.569; OKLCH L 82.6% C 0.082 H 106.5°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#CCCA8B
RGBrgb(204, 202, 139)
HSLhsl(58, 39%, 67%)
HSVhsv(58, 32%, 80%)
CMYKcmyk(0%, 1%, 31.9%, 20%)
CIE-LABlab(80.15, -8.97, 31.78)
CIE-LCHlch(80.15, 33.02, 105.77°)
OKLaboklab(82.57% -0.0234 0.079)
OKLCHoklch(82.57% 0.082 106.5)
XYZxyz(50.6830, 56.9434, 32.7424)
Luminance0.5694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA8B #8B8DCC
analogous
#CCAA8B #CCCA8B #AECC8B
triadic
#CCCA8B #8BCCCA #CA8BCC
tetradic
#CCCA8B #8BCCAA #8B8DCC #CC8BAE
square
#CCCA8B #8BCCAA #8B8DCC #CC8BAE
split-complementary
#CCCA8B #8BAECC #AA8BCC
monochromatic
#999743 #B9B760 #CCCA8B #DFDDB6 #F1F1E0

Accessibility & contrast

On white

1.70
#CCCA8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#CCCA8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA8B
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA8B#FFFFFF#000000##000000
##CCCA8B1.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C587
Deuteranopia (green-blind)
#D6C88D
Tritanopia (blue-blind)
#D5C2BA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ccca8b;
/* rgb */ color: rgb(204, 202, 139);
/* oklch */ color: oklch(82.6% 0.082 106.5);
Tailwind
colors: {
  custom: {
    50: '#dcdaad',
    500: '#ccca8b',
    950: '#000000',
  },
}
SCSS
$custom: #ccca8b;
$custom-light: #dcdaad;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca8b",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 139
  },
  "hsl": {
    "h": 58.154,
    "s": 38.922,
    "l": 67.255
  },
  "oklch": {
    "l": 0.8257,
    "c": 0.08238,
    "h": 106.5
  },
  "luminance": 0.56943
}

Semantic roles & 50–950 ramp

primary
#CCCA8B
secondary
#5B5DA0
accent
#37B234
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCCA8B

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

Preview Lab → · Contrast checker → · Palette generator →

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