#CCB96E#CCB96E

#CCB96E is a light, moderate yellow. Relative luminance 0.487; OKLCH L 78.5% C 0.098 H 95.6°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#CCB96E
RGBrgb(204, 185, 110)
HSLhsl(48, 48%, 62%)
HSVhsv(48, 46%, 80%)
CMYKcmyk(0%, 9.3%, 46.1%, 20%)
CIE-LABlab(75.24, -3.39, 40.37)
CIE-LCHlch(75.24, 40.51, 94.80°)
OKLaboklab(78.54% -0.0095 0.0973)
OKLCHoklch(78.54% 0.098 95.6)
XYZxyz(45.0665, 48.6628, 21.7678)
Luminance0.4866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB96E #6E81CC
analogous
#CC8A6E #CCB96E #B0CC6E
triadic
#CCB96E #6ECCB9 #B96ECC
tetradic
#CCB96E #6ECC8A #6E81CC #CC6EB0
square
#CCB96E #6ECC8A #6E81CC #CC6EB0
split-complementary
#CCB96E #6EB0CC #8A6ECC
monochromatic
#8E7B32 #BBA342 #CCB96E #DCCF9B #ECE5C9

Accessibility & contrast

On white

1.96
#CCB96E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#CCB96E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB96E
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB96E#FFFFFF#000000##000000
##CCB96E1.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B668
Deuteranopia (green-blind)
#CCBC71
Tritanopia (blue-blind)
#D9AFA7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ccb96e;
/* rgb */ color: rgb(204, 185, 110);
/* oklch */ color: oklch(78.5% 0.098 95.6);
Tailwind
colors: {
  custom: {
    50: '#ddcd99',
    500: '#ccb96e',
    950: '#000000',
  },
}
SCSS
$custom: #ccb96e;
$custom-light: #ddcd99;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb96e",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 110
  },
  "hsl": {
    "h": 47.872,
    "s": 47.959,
    "l": 61.569
  },
  "oklch": {
    "l": 0.78543,
    "c": 0.0978,
    "h": 95.6
  },
  "luminance": 0.48661
}

Semantic roles & 50–950 ramp

primary
#CCB96E
secondary
#B9C0DC
accent
#48BB2A
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCB96E

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

Preview Lab → · Contrast checker → · Palette generator →

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