#CCCA6F#CCCA6F

#CCCA6F is a very light, moderate yellow. Relative luminance 0.562; OKLCH L 82.1% C 0.114 H 107.5°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#CCCA6F
RGBrgb(204, 202, 111)
HSLhsl(59, 48%, 62%)
HSVhsv(59, 46%, 80%)
CMYKcmyk(0%, 1%, 45.6%, 20%)
CIE-LABlab(79.74, -12.06, 45.42)
CIE-LCHlch(79.74, 47.00, 104.87°)
OKLaboklab(82.12% -0.0344 0.1087)
OKLCHoklch(82.12% 0.114 107.5)
XYZxyz(48.8926, 56.2273, 23.3133)
Luminance0.5623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA6F #6F71CC
analogous
#CC9C6F #CCCA6F #A0CC6F
triadic
#CCCA6F #6FCCCA #CA6FCC
tetradic
#CCCA6F #6FCC9C #6F71CC #CC6FA0
square
#CCCA6F #6FCC9C #6F71CC #CC6FA0
split-complementary
#CCCA6F #6FA0CC #9C6FCC
monochromatic
#8E8C32 #BBB942 #CCCA6F #DCDB9C #ECEBC9

Accessibility & contrast

On white

1.71
#CCCA6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#CCCA6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA6F
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA6F#FFFFFF#000000##000000
##CCCA6F1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C467
Deuteranopia (green-blind)
#D9C773
Tritanopia (blue-blind)
#D8C0B5
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ccca6f;
/* rgb */ color: rgb(204, 202, 111);
/* oklch */ color: oklch(82.1% 0.114 107.5);
Tailwind
colors: {
  custom: {
    50: '#ddda9a',
    500: '#ccca6f',
    950: '#000000',
  },
}
SCSS
$custom: #ccca6f;
$custom-light: #ddda9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca6f",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 111
  },
  "hsl": {
    "h": 58.71,
    "s": 47.692,
    "l": 61.765
  },
  "oklch": {
    "l": 0.82117,
    "c": 0.11399,
    "h": 107.5
  },
  "luminance": 0.56226
}

Semantic roles & 50–950 ramp

primary
#CCCA6F
secondary
#4A4C95
accent
#2EBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCCA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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