#C8CC40#C8CC40

#C8CC40 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.7% C 0.157 H 111.0°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#C8CC40
RGBrgb(200, 204, 64)
HSLhsl(62, 58%, 53%)
HSVhsv(62, 69%, 80%)
CMYKcmyk(2%, 0%, 68.6%, 20%)
CIE-LABlab(79.52, -18.20, 65.74)
CIE-LCHlch(79.52, 68.21, 105.48°)
OKLaboklab(81.72% -0.0564 0.1467)
OKLCHoklch(81.72% 0.157 111)
XYZxyz(46.3392, 55.8365, 13.1860)
Luminance0.5584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC40 #4440CC
analogous
#CC8A40 #C8CC40 #82CC40
triadic
#C8CC40 #40C8CC #CC40C8
tetradic
#C8CC40 #40CC8A #4440CC #CC4082
square
#C8CC40 #40CC8A #4440CC #CC4082
split-complementary
#C8CC40 #4082CC #8A40CC
monochromatic
#71731F #A0A32C #C8CC40 #D6D970 #E4E6A1

Accessibility & contrast

On white

1.73
#C8CC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#C8CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC40
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC40#FFFFFF#000000##000000
##C8CC401.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC329
Deuteranopia (green-blind)
#DDC74A
Tritanopia (blue-blind)
#D6C0B0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cc40;
/* rgb */ color: rgb(200, 204, 64);
/* oklch */ color: oklch(81.7% 0.157 111.0);
Tailwind
colors: {
  custom: {
    50: '#dcdb7d',
    500: '#c8cc40',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc40;
$custom-light: #dcdb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc40",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 61.714,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.8172,
    "c": 0.15715,
    "h": 111
  },
  "luminance": 0.55835
}

Semantic roles & 50–950 ramp

primary
#C8CC40
secondary
#36347C
accent
#47E14B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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