#CCB76B#CCB76B

#CCB76B is a light, moderate yellow. Relative luminance 0.478; OKLCH L 78.1% C 0.099 H 94.4°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#CCB76B
RGBrgb(204, 183, 107)
HSLhsl(47, 49%, 61%)
HSVhsv(47, 48%, 80%)
CMYKcmyk(0%, 10.3%, 47.5%, 20%)
CIE-LABlab(74.68, -2.63, 41.19)
CIE-LCHlch(74.68, 41.27, 93.66°)
OKLaboklab(78.09% -0.0076 0.099)
OKLCHoklch(78.09% 0.099 94.4)
XYZxyz(44.4905, 47.7676, 20.7836)
Luminance0.4777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB76B #6B80CC
analogous
#CC866B #CCB76B #B0CC6B
triadic
#CCB76B #6BCCB7 #B76BCC
tetradic
#CCB76B #6BCC86 #6B80CC #CC6BB0
square
#CCB76B #6BCC86 #6B80CC #CC6BB0
split-complementary
#CCB76B #6BB0CC #866BCC
monochromatic
#8C7830 #BA9F40 #CCB76B #DCCD99 #EBE3C6

Accessibility & contrast

On white

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

On black

10.55
#CCB76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB76B
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB76B#FFFFFF#000000##000000
##CCB76B1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B465
Deuteranopia (green-blind)
#CBBB6E
Tritanopia (blue-blind)
#D9ACA5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccb76b;
/* rgb */ color: rgb(204, 183, 107);
/* oklch */ color: oklch(78.1% 0.099 94.4);
Tailwind
colors: {
  custom: {
    50: '#ddcc97',
    500: '#ccb76b',
    950: '#000000',
  },
}
SCSS
$custom: #ccb76b;
$custom-light: #ddcc97;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb76b",
  "rgb": {
    "r": 204,
    "g": 183,
    "b": 107
  },
  "hsl": {
    "h": 47.01,
    "s": 48.744,
    "l": 60.98
  },
  "oklch": {
    "l": 0.78085,
    "c": 0.09926,
    "h": 94.4
  },
  "luminance": 0.47766
}

Semantic roles & 50–950 ramp

primary
#CCB76B
secondary
#B7BFDC
accent
#49BC29
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130D
muted
#83827E

Preview Lab

Preview with #CCB76B

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

Preview Lab → · Contrast checker → · Palette generator →

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