#CCCA6B#CCCA6B

#CCCA6B is a very light, moderate yellow. Relative luminance 0.561; OKLCH L 82.1% C 0.118 H 107.7°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#CCCA6B
RGBrgb(204, 202, 107)
HSLhsl(59, 49%, 61%)
HSVhsv(59, 48%, 80%)
CMYKcmyk(0%, 1%, 47.5%, 20%)
CIE-LABlab(79.69, -12.44, 47.31)
CIE-LCHlch(79.69, 48.92, 104.73°)
OKLaboklab(82.06% -0.0358 0.1125)
OKLCHoklch(82.06% 0.118 107.7)
XYZxyz(48.6773, 56.1412, 22.1792)
Luminance0.5614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA6B #6B6DCC
analogous
#CC996B #CCCA6B #9DCC6B
triadic
#CCCA6B #6BCCCA #CA6BCC
tetradic
#CCCA6B #6BCC99 #6B6DCC #CC6B9D
square
#CCCA6B #6BCC99 #6B6DCC #CC6B9D
split-complementary
#CCCA6B #6B9DCC #996BCC
monochromatic
#8C8A30 #BAB740 #CCCA6B #DCDA99 #EBEBC6

Accessibility & contrast

On white

1.72
#CCCA6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#CCCA6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA6B
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA6B#FFFFFF#000000##000000
##CCCA6B1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C363
Deuteranopia (green-blind)
#D9C770
Tritanopia (blue-blind)
#D8C0B4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccca6b;
/* rgb */ color: rgb(204, 202, 107);
/* oklch */ color: oklch(82.1% 0.118 107.7);
Tailwind
colors: {
  custom: {
    50: '#ddda97',
    500: '#ccca6b',
    950: '#000000',
  },
}
SCSS
$custom: #ccca6b;
$custom-light: #ddda97;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca6b",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 107
  },
  "hsl": {
    "h": 58.763,
    "s": 48.744,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82062,
    "c": 0.11811,
    "h": 107.7
  },
  "luminance": 0.5614
}

Semantic roles & 50–950 ramp

primary
#CCCA6B
secondary
#484A93
accent
#2CBC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCCA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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