#CCC96E#CCC96E

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

Color values

HEX#CCC96E
RGBrgb(204, 201, 110)
HSLhsl(58, 48%, 62%)
HSVhsv(58, 46%, 80%)
CMYKcmyk(0%, 1.5%, 46.1%, 20%)
CIE-LABlab(79.46, -11.65, 45.57)
CIE-LCHlch(79.46, 47.04, 104.34°)
OKLaboklab(81.89% -0.0333 0.1089)
OKLCHoklch(81.89% 0.114 107)
XYZxyz(48.6040, 55.7377, 22.9469)
Luminance0.5574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC96E #6E71CC
analogous
#CC9A6E #CCC96E #A0CC6E
triadic
#CCC96E #6ECCC9 #C96ECC
tetradic
#CCC96E #6ECC9A #6E71CC #CC6EA0
square
#CCC96E #6ECC9A #6E71CC #CC6EA0
split-complementary
#CCC96E #6EA0CC #9A6ECC
monochromatic
#8E8B32 #BBB742 #CCC96E #DCDA9B #ECEBC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC96E#FFFFFF#000000##000000
##CCC96E1.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)
#D6C366
Deuteranopia (green-blind)
#D8C772
Tritanopia (blue-blind)
#D8BFB4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ccc96e;
/* rgb */ color: rgb(204, 201, 110);
/* oklch */ color: oklch(81.9% 0.114 107.0);
Tailwind
colors: {
  custom: {
    50: '#ddd999',
    500: '#ccc96e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc96e;
$custom-light: #ddd999;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc96e",
  "rgb": {
    "r": 204,
    "g": 201,
    "b": 110
  },
  "hsl": {
    "h": 58.085,
    "s": 47.959,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81891,
    "c": 0.11391,
    "h": 107
  },
  "luminance": 0.55736
}

Semantic roles & 50–950 ramp

primary
#CCC96E
secondary
#4A4C94
accent
#2FBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC96E

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

Preview Lab → · Contrast checker → · Palette generator →

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