#CCB76F#CCB76F

#CCB76F is a light, moderate yellow. Relative luminance 0.479; OKLCH L 78.1% C 0.095 H 93.7°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#CCB76F
RGBrgb(204, 183, 111)
HSLhsl(46, 48%, 62%)
HSVhsv(46, 46%, 80%)
CMYKcmyk(0%, 10.3%, 45.6%, 20%)
CIE-LABlab(74.73, -2.24, 39.22)
CIE-LCHlch(74.73, 39.29, 93.27°)
OKLaboklab(78.15% -0.0061 0.0948)
OKLCHoklch(78.15% 0.095 93.7)
XYZxyz(44.7058, 47.8538, 21.9177)
Luminance0.4785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB76F #6F84CC
analogous
#CC896F #CCB76F #B2CC6F
triadic
#CCB76F #6FCCB7 #B76FCC
tetradic
#CCB76F #6FCC89 #6F84CC #CC6FB2
square
#CCB76F #6FCC89 #6F84CC #CC6FB2
split-complementary
#CCB76F #6FB2CC #896FCC
monochromatic
#8E7932 #BBA042 #CCB76F #DCCE9C #ECE4C9

Accessibility & contrast

On white

1.99
#CCB76F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#CCB76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB76F
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB76F#FFFFFF#000000##000000
##CCB76F1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B469
Deuteranopia (green-blind)
#CABB72
Tritanopia (blue-blind)
#D9ADA5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb76f;
/* rgb */ color: rgb(204, 183, 111);
/* oklch */ color: oklch(78.1% 0.095 93.7);
Tailwind
colors: {
  custom: {
    50: '#ddcc99',
    500: '#ccb76f',
    950: '#000000',
  },
}
SCSS
$custom: #ccb76f;
$custom-light: #ddcc99;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb76f",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 111
  },
  "hsl": {
    "h": 46.452,
    "s": 47.692,
    "l": 61.765
  },
  "oklch": {
    "l": 0.78145,
    "c": 0.09503,
    "h": 93.7
  },
  "luminance": 0.47852
}

Semantic roles & 50–950 ramp

primary
#CCB76F
secondary
#BAC2DD
accent
#4BBB2B
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CCB76F

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

Preview Lab → · Contrast checker → · Palette generator →

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