#CCB96F#CCB96F

#CCB96F is a light, moderate yellow. Relative luminance 0.487; OKLCH L 78.6% C 0.097 H 95.4°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#CCB96F
RGBrgb(204, 185, 111)
HSLhsl(48, 48%, 62%)
HSVhsv(48, 46%, 80%)
CMYKcmyk(0%, 9.3%, 45.6%, 20%)
CIE-LABlab(75.25, -3.29, 39.88)
CIE-LCHlch(75.25, 40.01, 94.72°)
OKLaboklab(78.56% -0.0091 0.0963)
OKLCHoklch(78.56% 0.097 95.4)
XYZxyz(45.1213, 48.6847, 22.0561)
Luminance0.4868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB96F #6F82CC
analogous
#CC8B6F #CCB96F #B1CC6F
triadic
#CCB96F #6FCCB9 #B96FCC
tetradic
#CCB96F #6FCC8B #6F82CC #CC6FB1
square
#CCB96F #6FCC8B #6F82CC #CC6FB1
split-complementary
#CCB96F #6FB1CC #8B6FCC
monochromatic
#8E7B32 #BBA342 #CCB96F #DCCF9C #ECE5C9

Accessibility & contrast

On white

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

On black

10.74
#CCB96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB96F
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB96F#FFFFFF#000000##000000
##CCB96F1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccb96f;
/* rgb */ color: rgb(204, 185, 111);
/* oklch */ color: oklch(78.6% 0.097 95.4);
Tailwind
colors: {
  custom: {
    50: '#ddcd99',
    500: '#ccb96f',
    950: '#000000',
  },
}
SCSS
$custom: #ccb96f;
$custom-light: #ddcd99;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb96f",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 111
  },
  "hsl": {
    "h": 47.742,
    "s": 47.692,
    "l": 61.765
  },
  "oklch": {
    "l": 0.78558,
    "c": 0.09674,
    "h": 95.4
  },
  "luminance": 0.48683
}

Semantic roles & 50–950 ramp

primary
#CCB96F
secondary
#BAC1DD
accent
#48BB2B
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCB96F

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

Preview Lab → · Contrast checker → · Palette generator →

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