#CCC97A#CCC97A

#CCC97A is a very light, moderate yellow. Relative luminance 0.560; OKLCH L 82.1% C 0.101 H 106.5°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#CCC97A
RGBrgb(204, 201, 122)
HSLhsl(58, 45%, 64%)
HSVhsv(58, 40%, 80%)
CMYKcmyk(0%, 1.5%, 40.2%, 20%)
CIE-LABlab(79.62, -10.43, 39.80)
CIE-LCHlch(79.62, 41.15, 104.68°)
OKLaboklab(82.07% -0.0287 0.0968)
OKLCHoklch(82.07% 0.101 106.5)
XYZxyz(49.3021, 56.0169, 26.6238)
Luminance0.5602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC97A #7A7DCC
analogous
#CCA07A #CCC97A #A6CC7A
triadic
#CCC97A #7ACCC9 #C97ACC
tetradic
#CCC97A #7ACCA0 #7A7DCC #CC7AA6
square
#CCC97A #7ACCA0 #7A7DCC #CC7AA6
split-complementary
#CCC97A #7AA6CC #A07ACC
monochromatic
#939038 #BBB74E #CCC97A #DDDBA6 #EEEDD2

Accessibility & contrast

On white

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

On black

12.20
#CCC97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC97A
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC97A#FFFFFF#000000##000000
##CCC97A1.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C374
Deuteranopia (green-blind)
#D7C77D
Tritanopia (blue-blind)
#D7C0B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccc97a;
/* rgb */ color: rgb(204, 201, 122);
/* oklch */ color: oklch(82.1% 0.101 106.5);
Tailwind
colors: {
  custom: {
    50: '#ddd9a1',
    500: '#ccc97a',
    950: '#000000',
  },
}
SCSS
$custom: #ccc97a;
$custom-light: #ddd9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc97a",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 122
  },
  "hsl": {
    "h": 57.805,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82069,
    "c": 0.10095,
    "h": 106.5
  },
  "luminance": 0.56016
}

Semantic roles & 50–950 ramp

primary
#CCC97A
secondary
#51539A
accent
#33B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC97A

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

Preview Lab → · Contrast checker → · Palette generator →

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