#CCCA7A#CCCA7A

#CCCA7A is a very light, moderate yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.102 H 107.2°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#CCCA7A
RGBrgb(204, 202, 122)
HSLhsl(59, 45%, 64%)
HSVhsv(59, 40%, 80%)
CMYKcmyk(0%, 1%, 40.2%, 20%)
CIE-LABlab(79.89, -10.94, 40.14)
CIE-LCHlch(79.89, 41.60, 105.24°)
OKLaboklab(82.28% -0.0302 0.0975)
OKLCHoklch(82.28% 0.102 107.2)
XYZxyz(49.5360, 56.4847, 26.7018)
Luminance0.5648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCCA7A #7A7CCC
analogous
#CCA17A #CCCA7A #A5CC7A
triadic
#CCCA7A #7ACCCA #CA7ACC
tetradic
#CCCA7A #7ACCA1 #7A7CCC #CC7AA5
square
#CCCA7A #7ACCA1 #7A7CCC #CC7AA5
split-complementary
#CCCA7A #7AA5CC #A17ACC
monochromatic
#939138 #BBB84E #CCCA7A #DDDCA6 #EEEDD2

Accessibility & contrast

On white

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

On black

12.30
#CCCA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCCA7A
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCCA7A#FFFFFF#000000##000000
##CCCA7A1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C474
Deuteranopia (green-blind)
#D8C87D
Tritanopia (blue-blind)
#D7C1B6
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ccca7a;
/* rgb */ color: rgb(204, 202, 122);
/* oklch */ color: oklch(82.3% 0.102 107.2);
Tailwind
colors: {
  custom: {
    50: '#dddaa1',
    500: '#ccca7a',
    950: '#000000',
  },
}
SCSS
$custom: #ccca7a;
$custom-light: #dddaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccca7a",
  "rgb": {
    "r": 204,
    "g": 202,
    "b": 122
  },
  "hsl": {
    "h": 58.537,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.8228,
    "c": 0.10211,
    "h": 107.2
  },
  "luminance": 0.56484
}

Semantic roles & 50–950 ramp

primary
#CCCA7A
secondary
#51529A
accent
#31B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCCA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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