#CCC96F#CCC96F

#CCC96F is a light, moderate yellow. Relative luminance 0.558; OKLCH L 81.9% C 0.113 H 107.0°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#CCC96F
RGBrgb(204, 201, 111)
HSLhsl(58, 48%, 62%)
HSVhsv(58, 46%, 80%)
CMYKcmyk(0%, 1.5%, 45.6%, 20%)
CIE-LABlab(79.48, -11.55, 45.10)
CIE-LCHlch(79.48, 46.56, 104.37°)
OKLaboklab(81.91% -0.0329 0.108)
OKLCHoklch(81.91% 0.113 107)
XYZxyz(48.6587, 55.7596, 23.2353)
Luminance0.5576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC96F #6F72CC
analogous
#CC9B6F #CCC96F #A0CC6F
triadic
#CCC96F #6FCCC9 #C96FCC
tetradic
#CCC96F #6FCC9B #6F72CC #CC6FA0
square
#CCC96F #6FCC9B #6F72CC #CC6FA0
split-complementary
#CCC96F #6FA0CC #9B6FCC
monochromatic
#8E8B32 #BBB842 #CCC96F #DCDA9C #ECEBC9

Accessibility & contrast

On white

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

On black

12.15
#CCC96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC96F
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC96F#FFFFFF#000000##000000
##CCC96F1.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C367
Deuteranopia (green-blind)
#D8C773
Tritanopia (blue-blind)
#D8BFB4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccc96f;
/* rgb */ color: rgb(204, 201, 111);
/* oklch */ color: oklch(81.9% 0.113 107.0);
Tailwind
colors: {
  custom: {
    50: '#ddd99a',
    500: '#ccc96f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc96f;
$custom-light: #ddd99a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc96f",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 111
  },
  "hsl": {
    "h": 58.065,
    "s": 47.692,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81905,
    "c": 0.11287,
    "h": 107
  },
  "luminance": 0.55758
}

Semantic roles & 50–950 ramp

primary
#CCC96F
secondary
#4A4D95
accent
#2FBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC96F

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

Preview Lab → · Contrast checker → · Palette generator →

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