#CCCA87#CCCA87

#CCCA87 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.5% C 0.087 H 106.7°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#CCCA87
RGBrgb(204, 202, 135)
HSLhsl(58, 40%, 66%)
HSVhsv(58, 34%, 80%)
CMYKcmyk(0%, 1%, 33.8%, 20%)
CIE-LABlab(80.08, -9.46, 33.76)
CIE-LCHlch(80.08, 35.06, 105.65°)
OKLaboklab(82.5% -0.025 0.0835)
OKLCHoklch(82.5% 0.087 106.7)
XYZxyz(50.3960, 56.8287, 31.2312)
Luminance0.5683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA87 #8789CC
analogous
#CCA887 #CCCA87 #ACCC87
triadic
#CCCA87 #87CCCA #CA87CC
tetradic
#CCCA87 #87CCA8 #8789CC #CC87AC
square
#CCCA87 #87CCA8 #8789CC #CC87AC
split-complementary
#CCCA87 #87ACCC #A887CC
monochromatic
#989541 #BAB75C #CCCA87 #DEDDB2 #F1F0DD

Accessibility & contrast

On white

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

On black

12.37
#CCCA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA87
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA87#FFFFFF#000000##000000
##CCCA871.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C582
Deuteranopia (green-blind)
#D6C88A
Tritanopia (blue-blind)
#D6C2B9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ccca87;
/* rgb */ color: rgb(204, 202, 135);
/* oklch */ color: oklch(82.5% 0.087 106.7);
Tailwind
colors: {
  custom: {
    50: '#dcdaaa',
    500: '#ccca87',
    950: '#000000',
  },
}
SCSS
$custom: #ccca87;
$custom-light: #dcdaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca87",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 135
  },
  "hsl": {
    "h": 58.261,
    "s": 40.351,
    "l": 66.471
  },
  "oklch": {
    "l": 0.82498,
    "c": 0.08715,
    "h": 106.7
  },
  "luminance": 0.56828
}

Semantic roles & 50–950 ramp

primary
#CCCA87
secondary
#595B9F
accent
#36B332
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCCA87

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

Preview Lab → · Contrast checker → · Palette generator →

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