#C8CC4E#C8CC4E

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

Color values

HEX#C8CC4E
RGBrgb(200, 204, 78)
HSLhsl(62, 55%, 55%)
HSVhsv(62, 62%, 80%)
CMYKcmyk(2%, 0%, 61.8%, 20%)
CIE-LABlab(79.62, -17.37, 60.32)
CIE-LCHlch(79.62, 62.77, 106.07°)
OKLaboklab(81.83% -0.0526 0.1374)
OKLCHoklch(81.83% 0.147 111)
XYZxyz(46.7888, 56.0163, 15.5538)
Luminance0.5602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC4E #524ECC
analogous
#CC914E #C8CC4E #89CC4E
triadic
#C8CC4E #4EC8CC #CC4EC8
tetradic
#C8CC4E #4ECC91 #524ECC #CC4E89
square
#C8CC4E #4ECC91 #524ECC #CC4E89
split-complementary
#C8CC4E #4E89CC #914ECC
monochromatic
#797C24 #A8AB31 #C8CC4E #D7DA7E #E6E7AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CC4E#FFFFFF#000000##000000
##C8CC4E1.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)
#DBC33E
Deuteranopia (green-blind)
#DCC756
Tritanopia (blue-blind)
#D5C0B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cc4e;
/* rgb */ color: rgb(200, 204, 78);
/* oklch */ color: oklch(81.8% 0.147 111.0);
Tailwind
colors: {
  custom: {
    50: '#dcdb85',
    500: '#c8cc4e',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc4e;
$custom-light: #dcdb85;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc4e",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 78
  },
  "hsl": {
    "h": 61.905,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81834,
    "c": 0.14713,
    "h": 111
  },
  "luminance": 0.56015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8CC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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