#C8CC4D#C8CC4D

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

Color values

HEX#C8CC4D
RGBrgb(200, 204, 77)
HSLhsl(62, 55%, 55%)
HSVhsv(62, 62%, 80%)
CMYKcmyk(2%, 0%, 62.3%, 20%)
CIE-LABlab(79.61, -17.44, 60.73)
CIE-LCHlch(79.61, 63.18, 106.02°)
OKLaboklab(81.83% -0.0529 0.1381)
OKLCHoklch(81.83% 0.148 111)
XYZxyz(46.7532, 56.0021, 15.3664)
Luminance0.5600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC4D #514DCC
analogous
#CC914D #C8CC4D #88CC4D
triadic
#C8CC4D #4DC8CC #CC4DC8
tetradic
#C8CC4D #4DCC91 #514DCC #CC4D88
square
#C8CC4D #4DCC91 #514DCC #CC4D88
split-complementary
#C8CC4D #4D88CC #914DCC
monochromatic
#797B23 #A7AB31 #C8CC4D #D7DA7D #E5E7AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CC4D#FFFFFF#000000##000000
##C8CC4D1.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)
#DBC33D
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#D5C0B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cc4d;
/* rgb */ color: rgb(200, 204, 77);
/* oklch */ color: oklch(81.8% 0.148 111.0);
Tailwind
colors: {
  custom: {
    50: '#dcdb85',
    500: '#c8cc4d',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc4d;
$custom-light: #dcdb85;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc4d",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 77
  },
  "hsl": {
    "h": 61.89,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81825,
    "c": 0.14791,
    "h": 111
  },
  "luminance": 0.56001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8CC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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