#CCC76D#CCC76D

#CCC76D is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.113 H 105.8°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#CCC76D
RGBrgb(204, 199, 109)
HSLhsl(57, 48%, 61%)
HSVhsv(57, 47%, 80%)
CMYKcmyk(0%, 2.5%, 46.6%, 20%)
CIE-LABlab(78.92, -10.73, 45.40)
CIE-LCHlch(78.92, 46.65, 103.29°)
OKLaboklab(81.45% -0.0307 0.1085)
OKLCHoklch(81.45% 0.113 105.8)
XYZxyz(48.0867, 54.7896, 22.5074)
Luminance0.5479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC76D #6D72CC
analogous
#CC986D #CCC76D #A2CC6D
triadic
#CCC76D #6DCCC7 #C76DCC
tetradic
#CCC76D #6DCC98 #6D72CC #CC6DA2
square
#CCC76D #6DCC98 #6D72CC #CC6DA2
split-complementary
#CCC76D #6DA2CC #986DCC
monochromatic
#8D8831 #BBB441 #CCC76D #DCD89A #ECEAC8

Accessibility & contrast

On white

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

On black

11.96
#CCC76D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC76D
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC76D#FFFFFF#000000##000000
##CCC76D1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C165
Deuteranopia (green-blind)
#D7C571
Tritanopia (blue-blind)
#D8BDB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc76d;
/* rgb */ color: rgb(204, 199, 109);
/* oklch */ color: oklch(81.5% 0.113 105.8);
Tailwind
colors: {
  custom: {
    50: '#ddd799',
    500: '#ccc76d',
    950: '#000000',
  },
}
SCSS
$custom: #ccc76d;
$custom-light: #ddd799;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc76d",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 109
  },
  "hsl": {
    "h": 56.842,
    "s": 48.223,
    "l": 61.373
  },
  "oklch": {
    "l": 0.81454,
    "c": 0.11275,
    "h": 105.8
  },
  "luminance": 0.54788
}

Semantic roles & 50–950 ramp

primary
#CCC76D
secondary
#494D94
accent
#32BC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC76D

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

Preview Lab → · Contrast checker → · Palette generator →

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