#CCCA6D#CCCA6D

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

Color values

HEX#CCCA6D
RGBrgb(204, 202, 109)
HSLhsl(59, 48%, 61%)
HSVhsv(59, 47%, 80%)
CMYKcmyk(0%, 1%, 46.6%, 20%)
CIE-LABlab(79.72, -12.25, 46.37)
CIE-LCHlch(79.72, 47.96, 104.80°)
OKLaboklab(82.09% -0.0351 0.1106)
OKLCHoklch(82.09% 0.116 107.6)
XYZxyz(48.7837, 56.1838, 22.7398)
Luminance0.5618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA6D #6D6FCC
analogous
#CC9B6D #CCCA6D #9FCC6D
triadic
#CCCA6D #6DCCCA #CA6DCC
tetradic
#CCCA6D #6DCC9B #6D6FCC #CC6D9F
square
#CCCA6D #6DCC9B #6D6FCC #CC6D9F
split-complementary
#CCCA6D #6D9FCC #9B6DCC
monochromatic
#8D8B31 #BBB841 #CCCA6D #DCDA9A #ECEBC8

Accessibility & contrast

On white

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

On black

12.24
#CCCA6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA6D
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA6D#FFFFFF#000000##000000
##CCCA6D1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C365
Deuteranopia (green-blind)
#D9C771
Tritanopia (blue-blind)
#D8C0B4
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ccca6d;
/* rgb */ color: rgb(204, 202, 109);
/* oklch */ color: oklch(82.1% 0.116 107.6);
Tailwind
colors: {
  custom: {
    50: '#ddda99',
    500: '#ccca6d',
    950: '#000000',
  },
}
SCSS
$custom: #ccca6d;
$custom-light: #ddda99;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca6d",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 109
  },
  "hsl": {
    "h": 58.737,
    "s": 48.223,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82089,
    "c": 0.11607,
    "h": 107.6
  },
  "luminance": 0.56183
}

Semantic roles & 50–950 ramp

primary
#CCCA6D
secondary
#494B94
accent
#2DBC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCCA6D

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

Preview Lab → · Contrast checker → · Palette generator →

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