#CCC96A#CCC96A

#CCC96A is a light, moderate yellow. Relative luminance 0.557; OKLCH L 81.8% C 0.118 H 107.1°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#CCC96A
RGBrgb(204, 201, 106)
HSLhsl(58, 49%, 61%)
HSVhsv(58, 48%, 80%)
CMYKcmyk(0%, 1.5%, 48%, 20%)
CIE-LABlab(79.42, -12.02, 47.46)
CIE-LCHlch(79.42, 48.96, 104.22°)
OKLaboklab(81.84% -0.0348 0.1128)
OKLCHoklch(81.84% 0.118 107.1)
XYZxyz(48.3911, 55.6525, 21.8258)
Luminance0.5565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC96A #6A6DCC
analogous
#CC986A #CCC96A #9ECC6A
triadic
#CCC96A #6ACCC9 #C96ACC
tetradic
#CCC96A #6ACC98 #6A6DCC #CC6A9E
square
#CCC96A #6ACC98 #6A6DCC #CC6A9E
split-complementary
#CCC96A #6A9ECC #986ACC
monochromatic
#8C8930 #B9B63F #CCC96A #DCDA98 #EBEAC5

Accessibility & contrast

On white

1.73
#CCC96A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#CCC96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC96A
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC96A#FFFFFF#000000##000000
##CCC96A1.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C362
Deuteranopia (green-blind)
#D9C76F
Tritanopia (blue-blind)
#D8BEB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccc96a;
/* rgb */ color: rgb(204, 201, 106);
/* oklch */ color: oklch(81.8% 0.118 107.1);
Tailwind
colors: {
  custom: {
    50: '#ddd997',
    500: '#ccc96a',
    950: '#000000',
  },
}
SCSS
$custom: #ccc96a;
$custom-light: #ddd997;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc96a",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 106
  },
  "hsl": {
    "h": 58.163,
    "s": 49,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81837,
    "c": 0.11802,
    "h": 107.1
  },
  "luminance": 0.55651
}

Semantic roles & 50–950 ramp

primary
#CCC96A
secondary
#484A93
accent
#2EBC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC96A

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

Preview Lab → · Contrast checker → · Palette generator →

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