#CCB97A#CCB97A

#CCB97A is a light, moderate yellow. Relative luminance 0.489; OKLCH L 78.7% C 0.085 H 93.3°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#CCB97A
RGBrgb(204, 185, 122)
HSLhsl(46, 45%, 64%)
HSVhsv(46, 40%, 80%)
CMYKcmyk(0%, 9.3%, 40.2%, 20%)
CIE-LABlab(75.42, -2.14, 34.42)
CIE-LCHlch(75.42, 34.49, 93.55°)
OKLaboklab(78.74% -0.0048 0.0845)
OKLCHoklch(78.74% 0.085 93.3)
XYZxyz(45.7647, 48.9420, 25.4446)
Luminance0.4894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB97A #7A8DCC
analogous
#CC907A #CCB97A #B6CC7A
triadic
#CCB97A #7ACCB9 #B97ACC
tetradic
#CCB97A #7ACC90 #7A8DCC #CC7AB6
square
#CCB97A #7ACC90 #7A8DCC #CC7AB6
split-complementary
#CCB97A #7AB6CC #907ACC
monochromatic
#937E38 #BBA24E #CCB97A #DDD0A6 #EEE8D2

Accessibility & contrast

On white

1.95
#CCB97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#CCB97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB97A
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB97A#FFFFFF#000000##000000
##CCB97A1.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B675
Deuteranopia (green-blind)
#CBBC7C
Tritanopia (blue-blind)
#D8B0A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccb97a;
/* rgb */ color: rgb(204, 185, 122);
/* oklch */ color: oklch(78.7% 0.085 93.3);
Tailwind
colors: {
  custom: {
    50: '#ddcda1',
    500: '#ccb97a',
    950: '#000000',
  },
}
SCSS
$custom: #ccb97a;
$custom-light: #ddcda1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb97a",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 122
  },
  "hsl": {
    "h": 46.098,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.78737,
    "c": 0.08463,
    "h": 93.3
  },
  "luminance": 0.4894
}

Semantic roles & 50–950 ramp

primary
#CCB97A
secondary
#C3C9DF
accent
#4EB82E
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130F
muted
#83827E

Preview Lab

Preview with #CCB97A

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

Preview Lab → · Contrast checker → · Palette generator →

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