#CCB772#CCB772

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

Color values

HEX#CCB772
RGBrgb(204, 183, 114)
HSLhsl(46, 47%, 62%)
HSVhsv(46, 44%, 80%)
CMYKcmyk(0%, 10.3%, 44.1%, 20%)
CIE-LABlab(74.78, -1.94, 37.74)
CIE-LCHlch(74.78, 37.79, 92.94°)
OKLaboklab(78.19% -0.0049 0.0917)
OKLCHoklch(78.19% 0.092 93.1)
XYZxyz(44.8738, 47.9210, 22.8023)
Luminance0.4792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB772 #7287CC
analogous
#CC8A72 #CCB772 #B4CC72
triadic
#CCB772 #72CCB7 #B772CC
tetradic
#CCB772 #72CC8A #7287CC #CC72B4
square
#CCB772 #72CC8A #7287CC #CC72B4
split-complementary
#CCB772 #72B4CC #8A72CC
monochromatic
#907A34 #BCA045 #CCB772 #DCCE9F #EDE5CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCB772#FFFFFF#000000##000000
##CCB7721.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)
#C5B46D
Deuteranopia (green-blind)
#CABB74
Tritanopia (blue-blind)
#D9ADA6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb772;
/* rgb */ color: rgb(204, 183, 114);
/* oklch */ color: oklch(78.2% 0.092 93.1);
Tailwind
colors: {
  custom: {
    50: '#ddcc9b',
    500: '#ccb772',
    950: '#000000',
  },
}
SCSS
$custom: #ccb772;
$custom-light: #ddcc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb772",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 114
  },
  "hsl": {
    "h": 46,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.78193,
    "c": 0.0918,
    "h": 93.1
  },
  "luminance": 0.47919
}

Semantic roles & 50–950 ramp

primary
#CCB772
secondary
#BCC4DD
accent
#4DBA2B
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCB772

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

Preview Lab → · Contrast checker → · Palette generator →

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