#CCB97D#CCB97D

#CCB97D is a light, moderate yellow. Relative luminance 0.490; OKLCH L 78.8% C 0.081 H 92.6°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#CCB97D
RGBrgb(204, 185, 125)
HSLhsl(46, 44%, 65%)
HSVhsv(46, 39%, 80%)
CMYKcmyk(0%, 9.3%, 38.7%, 20%)
CIE-LABlab(75.46, -1.80, 32.92)
CIE-LCHlch(75.46, 32.97, 93.13°)
OKLaboklab(78.79% -0.0036 0.0812)
OKLCHoklch(78.79% 0.081 92.6)
XYZxyz(45.9534, 49.0175, 26.4387)
Luminance0.4902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB97D #7D90CC
analogous
#CC927D #CCB97D #B7CC7D
triadic
#CCB97D #7DCCB9 #B97DCC
tetradic
#CCB97D #7DCC92 #7D90CC #CC7DB7
square
#CCB97D #7DCC92 #7D90CC #CC7DB7
split-complementary
#CCB97D #7DB7CC #927DCC
monochromatic
#947F3A #BBA151 #CCB97D #DDD1A9 #EEE8D5

Accessibility & contrast

On white

1.94
#CCB97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#CCB97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB97D
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB97D#FFFFFF#000000##000000
##CCB97D1.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B779
Deuteranopia (green-blind)
#CABC7F
Tritanopia (blue-blind)
#D8B0AA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccb97d;
/* rgb */ color: rgb(204, 185, 125);
/* oklch */ color: oklch(78.8% 0.081 92.6);
Tailwind
colors: {
  custom: {
    50: '#ddcda3',
    500: '#ccb97d',
    950: '#000000',
  },
}
SCSS
$custom: #ccb97d;
$custom-light: #ddcda3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb97d",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 125
  },
  "hsl": {
    "h": 45.57,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.78789,
    "c": 0.08123,
    "h": 92.6
  },
  "luminance": 0.49016
}

Semantic roles & 50–950 ramp

primary
#CCB97D
secondary
#C5CBE0
accent
#4FB72F
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #CCB97D

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

Preview Lab → · Contrast checker → · Palette generator →

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