#CCB771#CCB771

#CCB771 is a light, moderate yellow. Relative luminance 0.479; OKLCH L 78.2% C 0.093 H 93.3°. Best body text is #000000 at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#CCB771
RGBrgb(204, 183, 113)
HSLhsl(46, 47%, 62%)
HSVhsv(46, 45%, 80%)
CMYKcmyk(0%, 10.3%, 44.6%, 20%)
CIE-LABlab(74.76, -2.04, 38.24)
CIE-LCHlch(74.76, 38.29, 93.06°)
OKLaboklab(78.18% -0.0053 0.0927)
OKLCHoklch(78.18% 0.093 93.3)
XYZxyz(44.8172, 47.8983, 22.5041)
Luminance0.4790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB771 #7186CC
analogous
#CC8A71 #CCB771 #B3CC71
triadic
#CCB771 #71CCB7 #B771CC
tetradic
#CCB771 #71CC8A #7186CC #CC71B3
square
#CCB771 #71CC8A #7186CC #CC71B3
split-complementary
#CCB771 #71B3CC #8A71CC
monochromatic
#8F7A33 #BCA044 #CCB771 #DCCE9E #ECE5CB

Accessibility & contrast

On white

1.98
#CCB771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.58
#CCB771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB771
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB771#FFFFFF#000000##000000
##CCB7711.001.9810.5810.58
#FFFFFF1.981.0021.0021.00
#00000010.5821.001.001.00
##00000010.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B46C
Deuteranopia (green-blind)
#CABB74
Tritanopia (blue-blind)
#D9ADA6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb771;
/* rgb */ color: rgb(204, 183, 113);
/* oklch */ color: oklch(78.2% 0.093 93.3);
Tailwind
colors: {
  custom: {
    50: '#ddcc9b',
    500: '#ccb771',
    950: '#000000',
  },
}
SCSS
$custom: #ccb771;
$custom-light: #ddcc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb771",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 113
  },
  "hsl": {
    "h": 46.154,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.78177,
    "c": 0.09288,
    "h": 93.3
  },
  "luminance": 0.47897
}

Semantic roles & 50–950 ramp

primary
#CCB771
secondary
#BCC3DD
accent
#4CBA2B
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCB771

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

Preview Lab → · Contrast checker → · Palette generator →

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