#CCC96B#CCC96B

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

Color values

HEX#CCC96B
RGBrgb(204, 201, 107)
HSLhsl(58, 49%, 61%)
HSVhsv(58, 48%, 80%)
CMYKcmyk(0%, 1.5%, 47.5%, 20%)
CIE-LABlab(79.43, -11.93, 46.99)
CIE-LCHlch(79.43, 48.48, 104.25°)
OKLaboklab(81.85% -0.0344 0.1118)
OKLCHoklch(81.85% 0.117 107.1)
XYZxyz(48.4434, 55.6734, 22.1012)
Luminance0.5567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC96B #6B6ECC
analogous
#CC986B #CCC96B #9ECC6B
triadic
#CCC96B #6BCCC9 #C96BCC
tetradic
#CCC96B #6BCC98 #6B6ECC #CC6B9E
square
#CCC96B #6BCC98 #6B6ECC #CC6B9E
split-complementary
#CCC96B #6B9ECC #986BCC
monochromatic
#8C8930 #BAB640 #CCC96B #DCDA99 #EBEAC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC96B#FFFFFF#000000##000000
##CCC96B1.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)
#D7C363
Deuteranopia (green-blind)
#D9C76F
Tritanopia (blue-blind)
#D8BFB3
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccc96b;
/* rgb */ color: rgb(204, 201, 107);
/* oklch */ color: oklch(81.8% 0.117 107.1);
Tailwind
colors: {
  custom: {
    50: '#ddd997',
    500: '#ccc96b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc96b;
$custom-light: #ddd997;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc96b",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 107
  },
  "hsl": {
    "h": 58.144,
    "s": 48.744,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8185,
    "c": 0.11701,
    "h": 107.1
  },
  "luminance": 0.55672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCC96B

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

Preview Lab → · Contrast checker → · Palette generator →

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