#CCC77D#CCC77D

#CCC77D is a light, moderate yellow. Relative luminance 0.552; OKLCH L 81.7% C 0.095 H 105.0°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#CCC77D
RGBrgb(204, 199, 125)
HSLhsl(56, 44%, 65%)
HSVhsv(56, 39%, 80%)
CMYKcmyk(0%, 2.5%, 38.7%, 20%)
CIE-LABlab(79.14, -9.08, 37.66)
CIE-LCHlch(79.14, 38.74, 103.55°)
OKLaboklab(81.7% -0.0246 0.0921)
OKLCHoklch(81.7% 0.095 105)
XYZxyz(49.0277, 55.1660, 27.4635)
Luminance0.5516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC77D #7D82CC
analogous
#CCA07D #CCC77D #A9CC7D
triadic
#CCC77D #7DCCC7 #C77DCC
tetradic
#CCC77D #7DCCA0 #7D82CC #CC7DA9
square
#CCC77D #7DCCA0 #7D82CC #CC7DA9
split-complementary
#CCC77D #7DA9CC #A07DCC
monochromatic
#948F3A #BBB451 #CCC77D #DDDAA9 #EEEDD5

Accessibility & contrast

On white

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

On black

12.03
#CCC77D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC77D
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC77D#FFFFFF#000000##000000
##CCC77D1.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C277
Deuteranopia (green-blind)
#D5C680
Tritanopia (blue-blind)
#D7BEB5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc77d;
/* rgb */ color: rgb(204, 199, 125);
/* oklch */ color: oklch(81.7% 0.095 105.0);
Tailwind
colors: {
  custom: {
    50: '#ddd7a3',
    500: '#ccc77d',
    950: '#000000',
  },
}
SCSS
$custom: #ccc77d;
$custom-light: #ddd7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc77d",
  "rgb": {
    "r": 204,
    "g": 199,
    "b": 125
  },
  "hsl": {
    "h": 56.203,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.81697,
    "c": 0.0953,
    "h": 105
  },
  "luminance": 0.55165
}

Semantic roles & 50–950 ramp

primary
#CCC77D
secondary
#52579B
accent
#37B72F
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC77D

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

Preview Lab → · Contrast checker → · Palette generator →

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