#CCC76B#CCC76B

#CCC76B is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.115 H 105.9°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CCC76B
RGBrgb(204, 199, 107)
HSLhsl(57, 49%, 61%)
HSVhsv(57, 48%, 80%)
CMYKcmyk(0%, 2.5%, 47.5%, 20%)
CIE-LABlab(78.90, -10.91, 46.35)
CIE-LCHlch(78.90, 47.62, 103.25°)
OKLaboklab(81.43% -0.0315 0.1104)
OKLCHoklch(81.43% 0.115 105.9)
XYZxyz(47.9802, 54.7471, 21.9468)
Luminance0.5475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC76B #6B70CC
analogous
#CC966B #CCC76B #A0CC6B
triadic
#CCC76B #6BCCC7 #C76BCC
tetradic
#CCC76B #6BCC96 #6B70CC #CC6BA0
square
#CCC76B #6BCC96 #6B70CC #CC6BA0
split-complementary
#CCC76B #6BA0CC #966BCC
monochromatic
#8C8830 #BAB440 #CCC76B #DCD899 #EBE9C6

Accessibility & contrast

On white

1.76
#CCC76B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#CCC76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC76B
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC76B#FFFFFF#000000##000000
##CCC76B1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C163
Deuteranopia (green-blind)
#D7C56F
Tritanopia (blue-blind)
#D8BDB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc76b;
/* rgb */ color: rgb(204, 199, 107);
/* oklch */ color: oklch(81.4% 0.115 105.9);
Tailwind
colors: {
  custom: {
    50: '#ddd797',
    500: '#ccc76b',
    950: '#000000',
  },
}
SCSS
$custom: #ccc76b;
$custom-light: #ddd797;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc76b",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 107
  },
  "hsl": {
    "h": 56.907,
    "s": 48.744,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81427,
    "c": 0.11482,
    "h": 105.9
  },
  "luminance": 0.54746
}

Semantic roles & 50–950 ramp

primary
#CCC76B
secondary
#484C93
accent
#31BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC76B

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

Preview Lab → · Contrast checker → · Palette generator →

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