#CCC76F#CCC76F

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

Color values

HEX#CCC76F
RGBrgb(204, 199, 111)
HSLhsl(57, 48%, 62%)
HSVhsv(57, 46%, 80%)
CMYKcmyk(0%, 2.5%, 45.6%, 20%)
CIE-LABlab(78.95, -10.53, 44.45)
CIE-LCHlch(78.95, 45.68, 103.33°)
OKLaboklab(81.48% -0.03 0.1065)
OKLCHoklch(81.48% 0.111 105.7)
XYZxyz(48.1956, 54.8332, 23.0809)
Luminance0.5483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC76F #6F74CC
analogous
#CC996F #CCC76F #A3CC6F
triadic
#CCC76F #6FCCC7 #C76FCC
tetradic
#CCC76F #6FCC99 #6F74CC #CC6FA3
square
#CCC76F #6FCC99 #6F74CC #CC6FA3
split-complementary
#CCC76F #6FA3CC #996FCC
monochromatic
#8E8932 #BBB542 #CCC76F #DCD99C #ECEAC9

Accessibility & contrast

On white

1.75
#CCC76F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#CCC76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC76F
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC76F#FFFFFF#000000##000000
##CCC76F1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccc76f;
/* rgb */ color: rgb(204, 199, 111);
/* oklch */ color: oklch(81.5% 0.111 105.7);
Tailwind
colors: {
  custom: {
    50: '#ddd79a',
    500: '#ccc76f',
    950: '#000000',
  },
}
SCSS
$custom: #ccc76f;
$custom-light: #ddd79a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc76f",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 111
  },
  "hsl": {
    "h": 56.774,
    "s": 47.692,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81483,
    "c": 0.11066,
    "h": 105.7
  },
  "luminance": 0.54832
}

Semantic roles & 50–950 ramp

primary
#CCC76F
secondary
#4A4E95
accent
#32BB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC76F

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

Preview Lab → · Contrast checker → · Palette generator →

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