#CCB97E#CCB97E

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

Color values

HEX#CCB97E
RGBrgb(204, 185, 126)
HSLhsl(45, 43%, 65%)
HSVhsv(45, 38%, 80%)
CMYKcmyk(0%, 9.3%, 38.2%, 20%)
CIE-LABlab(75.48, -1.69, 32.42)
CIE-LCHlch(75.48, 32.46, 92.98°)
OKLaboklab(78.81% -0.0032 0.08)
OKLCHoklch(78.81% 0.08 92.3)
XYZxyz(46.0176, 49.0432, 26.7769)
Luminance0.4904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB97E #7E91CC
analogous
#CC927E #CCB97E #B8CC7E
triadic
#CCB97E #7ECCB9 #B97ECC
tetradic
#CCB97E #7ECC92 #7E91CC #CC7EB8
square
#CCB97E #7ECC92 #7E91CC #CC7EB8
split-complementary
#CCB97E #7EB8CC #927ECC
monochromatic
#957F3B #BBA152 #CCB97E #DDD1AA #EFE9D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB97E#FFFFFF#000000##000000
##CCB97E1.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)
#C5B77A
Deuteranopia (green-blind)
#CABC80
Tritanopia (blue-blind)
#D8B0AA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ccb97e;
/* rgb */ color: rgb(204, 185, 126);
/* oklch */ color: oklch(78.8% 0.080 92.3);
Tailwind
colors: {
  custom: {
    50: '#ddcda4',
    500: '#ccb97e',
    950: '#000000',
  },
}
SCSS
$custom: #ccb97e;
$custom-light: #ddcda4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb97e",
  "rgb": {
    "r": 204,
    "g": 185,
    "b": 126
  },
  "hsl": {
    "h": 45.385,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.78807,
    "c": 0.08008,
    "h": 92.3
  },
  "luminance": 0.49042
}

Semantic roles & 50–950 ramp

primary
#CCB97E
secondary
#C6CCE0
accent
#50B62F
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #CCB97E

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

Preview Lab → · Contrast checker → · Palette generator →

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