#CCC97C#CCC97C

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

Color values

HEX#CCC97C
RGBrgb(204, 201, 124)
HSLhsl(58, 44%, 64%)
HSVhsv(58, 39%, 80%)
CMYKcmyk(0%, 1.5%, 39.2%, 20%)
CIE-LABlab(79.65, -10.21, 38.83)
CIE-LCHlch(79.65, 40.15, 104.74°)
OKLaboklab(82.1% -0.0279 0.0947)
OKLCHoklch(82.1% 0.099 106.4)
XYZxyz(49.4273, 56.0670, 27.2832)
Luminance0.5607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC97C #7C7FCC
analogous
#CCA17C #CCC97C #A7CC7C
triadic
#CCC97C #7CCCC9 #C97CCC
tetradic
#CCC97C #7CCCA1 #7C7FCC #CC7CA7
square
#CCC97C #7CCCA1 #7C7FCC #CC7CA7
split-complementary
#CCC97C #7CA7CC #A17CCC
monochromatic
#94913A #BBB750 #CCC97C #DDDBA8 #EEEDD4

Accessibility & contrast

On white

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

On black

12.21
#CCC97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC97C
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC97C#FFFFFF#000000##000000
##CCC97C1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc97c;
/* rgb */ color: rgb(204, 201, 124);
/* oklch */ color: oklch(82.1% 0.099 106.4);
Tailwind
colors: {
  custom: {
    50: '#ddd9a3',
    500: '#ccc97c',
    950: '#000000',
  },
}
SCSS
$custom: #ccc97c;
$custom-light: #ddd9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc97c",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 124
  },
  "hsl": {
    "h": 57.75,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.82101,
    "c": 0.09871,
    "h": 106.4
  },
  "luminance": 0.56066
}

Semantic roles & 50–950 ramp

primary
#CCC97C
secondary
#52549A
accent
#34B72E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC97C

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

Preview Lab → · Contrast checker → · Palette generator →

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