#C8CC4A#C8CC4A

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

Color values

HEX#C8CC4A
RGBrgb(200, 204, 74)
HSLhsl(62, 56%, 55%)
HSVhsv(62, 64%, 80%)
CMYKcmyk(2%, 0%, 63.7%, 20%)
CIE-LABlab(79.59, -17.63, 61.93)
CIE-LCHlch(79.59, 64.39, 105.89°)
OKLaboklab(81.8% -0.0538 0.1402)
OKLCHoklch(81.8% 0.15 111)
XYZxyz(46.6497, 55.9607, 14.8213)
Luminance0.5596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC4A #4E4ACC
analogous
#CC8F4A #C8CC4A #87CC4A
triadic
#C8CC4A #4AC8CC #CC4AC8
tetradic
#C8CC4A #4ACC8F #4E4ACC #CC4A87
square
#C8CC4A #4ACC8F #4E4ACC #CC4A87
split-complementary
#C8CC4A #4A87CC #8F4ACC
monochromatic
#777922 #A5A930 #C8CC4A #D7D97A #E5E7A9

Accessibility & contrast

On white

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

On black

12.19
#C8CC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC4A
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC4A#FFFFFF#000000##000000
##C8CC4A1.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8cc4a;
/* rgb */ color: rgb(200, 204, 74);
/* oklch */ color: oklch(81.8% 0.150 111.0);
Tailwind
colors: {
  custom: {
    50: '#dcdb83',
    500: '#c8cc4a',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc4a;
$custom-light: #dcdb83;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc4a",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 61.846,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81799,
    "c": 0.15018,
    "h": 111
  },
  "luminance": 0.5596
}

Semantic roles & 50–950 ramp

primary
#C8CC4A
secondary
#3B3982
accent
#48DF4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8CC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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