#CCB97F#CCB97F

#CCB97F is a light, moderate yellow. Relative luminance 0.491; OKLCH L 78.8% C 0.079 H 92.0°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#CCB97F
RGBrgb(204, 185, 127)
HSLhsl(45, 43%, 65%)
HSVhsv(45, 38%, 80%)
CMYKcmyk(0%, 9.3%, 37.7%, 20%)
CIE-LABlab(75.49, -1.57, 31.91)
CIE-LCHlch(75.49, 31.95, 92.82°)
OKLaboklab(78.83% -0.0028 0.0789)
OKLCHoklch(78.83% 0.079 92)
XYZxyz(46.0825, 49.0692, 27.1184)
Luminance0.4907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB97F #7F92CC
analogous
#CC937F #CCB97F #B8CC7F
triadic
#CCB97F #7FCCB9 #B97FCC
tetradic
#CCB97F #7FCC93 #7F92CC #CC7FB8
square
#CCB97F #7FCC93 #7F92CC #CC7FB8
split-complementary
#CCB97F #7FB8CC #937FCC
monochromatic
#957F3B #BBA153 #CCB97F #DDD1AB #EFE9D7

Accessibility & contrast

On white

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

On black

10.81
#CCB97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB97F
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB97F#FFFFFF#000000##000000
##CCB97F1.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B77B
Deuteranopia (green-blind)
#CABC81
Tritanopia (blue-blind)
#D7B0AA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccb97f;
/* rgb */ color: rgb(204, 185, 127);
/* oklch */ color: oklch(78.8% 0.079 92.0);
Tailwind
colors: {
  custom: {
    50: '#ddcda4',
    500: '#ccb97f',
    950: '#000000',
  },
}
SCSS
$custom: #ccb97f;
$custom-light: #ddcda4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb97f",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 127
  },
  "hsl": {
    "h": 45.195,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.78825,
    "c": 0.07894,
    "h": 92
  },
  "luminance": 0.49068
}

Semantic roles & 50–950 ramp

primary
#CCB97F
secondary
#C6CDE1
accent
#51B62F
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #CCB97F

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

Preview Lab → · Contrast checker → · Palette generator →

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