#CCC877#CCC877

#CCC877 is a light, moderate yellow. Relative luminance 0.555; OKLCH L 81.8% C 0.103 H 106.0°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#CCC877
RGBrgb(204, 200, 119)
HSLhsl(57, 45%, 63%)
HSVhsv(57, 42%, 80%)
CMYKcmyk(0%, 2%, 41.7%, 20%)
CIE-LABlab(79.32, -10.24, 40.93)
CIE-LCHlch(79.32, 42.19, 104.04°)
OKLaboklab(81.81% -0.0284 0.0992)
OKLCHoklch(81.81% 0.103 106)
XYZxyz(48.8868, 55.4790, 25.5825)
Luminance0.5548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC877 #777BCC
analogous
#CC9D77 #CCC877 #A5CC77
triadic
#CCC877 #77CCC8 #C877CC
tetradic
#CCC877 #77CC9D #777BCC #CC77A5
square
#CCC877 #77CC9D #777BCC #CC77A5
split-complementary
#CCC877 #77A5CC #9D77CC
monochromatic
#928E37 #BBB64A #CCC877 #DDDAA4 #EDECD0

Accessibility & contrast

On white

1.74
#CCC877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#CCC877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC877
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC877#FFFFFF#000000##000000
##CCC8771.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C271
Deuteranopia (green-blind)
#D7C67B
Tritanopia (blue-blind)
#D7BEB4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #ccc877;
/* rgb */ color: rgb(204, 200, 119);
/* oklch */ color: oklch(81.8% 0.103 106.0);
Tailwind
colors: {
  custom: {
    50: '#ddd89f',
    500: '#ccc877',
    950: '#000000',
  },
}
SCSS
$custom: #ccc877;
$custom-light: #ddd89f;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc877",
  "rgb": {
    "r": 204,
    "g": 200,
    "b": 119
  },
  "hsl": {
    "h": 57.176,
    "s": 45.455,
    "l": 63.333
  },
  "oklch": {
    "l": 0.81812,
    "c": 0.10315,
    "h": 106
  },
  "luminance": 0.55478
}

Semantic roles & 50–950 ramp

primary
#CCC877
secondary
#4F5298
accent
#33B92D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC877

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

Preview Lab → · Contrast checker → · Palette generator →

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