#CCC76E#CCC76E

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

Color values

HEX#CCC76E
RGBrgb(204, 199, 110)
HSLhsl(57, 48%, 62%)
HSVhsv(57, 46%, 80%)
CMYKcmyk(0%, 2.5%, 46.1%, 20%)
CIE-LABlab(78.93, -10.63, 44.92)
CIE-LCHlch(78.93, 46.17, 103.31°)
OKLaboklab(81.47% -0.0304 0.1075)
OKLCHoklch(81.47% 0.112 105.8)
XYZxyz(48.1408, 54.8113, 22.7925)
Luminance0.5481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC76E #6E73CC
analogous
#CC986E #CCC76E #A2CC6E
triadic
#CCC76E #6ECCC7 #C76ECC
tetradic
#CCC76E #6ECC98 #6E73CC #CC6EA2
square
#CCC76E #6ECC98 #6E73CC #CC6EA2
split-complementary
#CCC76E #6EA2CC #986ECC
monochromatic
#8E8932 #BBB542 #CCC76E #DCD89B #ECEAC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCC76E#FFFFFF#000000##000000
##CCC76E1.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)
#D4C166
Deuteranopia (green-blind)
#D7C572
Tritanopia (blue-blind)
#D8BDB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc76e;
/* rgb */ color: rgb(204, 199, 110);
/* oklch */ color: oklch(81.5% 0.112 105.8);
Tailwind
colors: {
  custom: {
    50: '#ddd799',
    500: '#ccc76e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc76e;
$custom-light: #ddd799;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc76e",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 110
  },
  "hsl": {
    "h": 56.809,
    "s": 47.959,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81468,
    "c": 0.11171,
    "h": 105.8
  },
  "luminance": 0.5481
}

Semantic roles & 50–950 ramp

primary
#CCC76E
secondary
#4A4E94
accent
#32BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CCC76E

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

Preview Lab → · Contrast checker → · Palette generator →

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