#C8CC4C#C8CC4C

#C8CC4C is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.8% C 0.149 H 111.0°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#C8CC4C
RGBrgb(200, 204, 76)
HSLhsl(62, 56%, 55%)
HSVhsv(62, 63%, 80%)
CMYKcmyk(2%, 0%, 62.7%, 20%)
CIE-LABlab(79.61, -17.50, 61.13)
CIE-LCHlch(79.61, 63.59, 105.98°)
OKLaboklab(81.82% -0.0532 0.1388)
OKLCHoklch(81.82% 0.149 111)
XYZxyz(46.7182, 55.9880, 15.1819)
Luminance0.5599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC4C #504CCC
analogous
#CC904C #C8CC4C #88CC4C
triadic
#C8CC4C #4CC8CC #CC4CC8
tetradic
#C8CC4C #4CCC90 #504CCC #CC4C88
square
#C8CC4C #4CCC90 #504CCC #CC4C88
split-complementary
#C8CC4C #4C88CC #904CCC
monochromatic
#787B23 #A6AA31 #C8CC4C #D7DA7C #E5E7AB

Accessibility & contrast

On white

1.72
#C8CC4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#C8CC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC4C
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC4C#FFFFFF#000000##000000
##C8CC4C1.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33C
Deuteranopia (green-blind)
#DCC754
Tritanopia (blue-blind)
#D5C0B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cc4c;
/* rgb */ color: rgb(200, 204, 76);
/* oklch */ color: oklch(81.8% 0.149 111.0);
Tailwind
colors: {
  custom: {
    50: '#dcdb84',
    500: '#c8cc4c',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc4c;
$custom-light: #dcdb84;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc4c",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 76
  },
  "hsl": {
    "h": 61.875,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81816,
    "c": 0.14868,
    "h": 111
  },
  "luminance": 0.55987
}

Semantic roles & 50–950 ramp

primary
#C8CC4C
secondary
#3C3983
accent
#49DF4E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8CC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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