#CCCA86#CCCA86

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

Color values

HEX#CCCA86
RGBrgb(204, 202, 134)
HSLhsl(58, 41%, 66%)
HSVhsv(58, 34%, 80%)
CMYKcmyk(0%, 1%, 34.3%, 20%)
CIE-LABlab(80.07, -9.58, 34.26)
CIE-LCHlch(80.07, 35.57, 105.63°)
OKLaboklab(82.48% -0.0254 0.0846)
OKLCHoklch(82.48% 0.088 106.7)
XYZxyz(50.3259, 56.8006, 30.8622)
Luminance0.5680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA86 #8688CC
analogous
#CCA786 #CCCA86 #ABCC86
triadic
#CCCA86 #86CCCA #CA86CC
tetradic
#CCCA86 #86CCA7 #8688CC #CC86AB
square
#CCCA86 #86CCA7 #8688CC #CC86AB
split-complementary
#CCCA86 #86ABCC #A786CC
monochromatic
#989540 #BAB75B #CCCA86 #DEDDB1 #F0F0DC

Accessibility & contrast

On white

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

On black

12.36
#CCCA86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA86
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA86#FFFFFF#000000##000000
##CCCA861.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccca86;
/* rgb */ color: rgb(204, 202, 134);
/* oklch */ color: oklch(82.5% 0.088 106.7);
Tailwind
colors: {
  custom: {
    50: '#dcdaaa',
    500: '#ccca86',
    950: '#000000',
  },
}
SCSS
$custom: #ccca86;
$custom-light: #dcdaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca86",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 134
  },
  "hsl": {
    "h": 58.286,
    "s": 40.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.8248,
    "c": 0.08834,
    "h": 106.7
  },
  "luminance": 0.568
}

Semantic roles & 50–950 ramp

primary
#CCCA86
secondary
#585A9E
accent
#35B432
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #CCCA86

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

Preview Lab → · Contrast checker → · Palette generator →

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