#C8CC3E#C8CC3E

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

Color values

HEX#C8CC3E
RGBrgb(200, 204, 62)
HSLhsl(62, 58%, 52%)
HSVhsv(62, 70%, 80%)
CMYKcmyk(2%, 0%, 69.6%, 20%)
CIE-LABlab(79.51, -18.30, 66.46)
CIE-LCHlch(79.51, 68.94, 105.40°)
OKLaboklab(81.71% -0.0569 0.1479)
OKLCHoklch(81.71% 0.158 111)
XYZxyz(46.2833, 55.8141, 12.8916)
Luminance0.5581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC3E #423ECC
analogous
#CC893E #C8CC3E #81CC3E
triadic
#C8CC3E #3EC8CC #CC3EC8
tetradic
#C8CC3E #3ECC89 #423ECC #CC3E81
square
#C8CC3E #3ECC89 #423ECC #CC3E81
split-complementary
#C8CC3E #3E81CC #893ECC
monochromatic
#6F721E #9FA22B #C8CC3E #D6D96E #E4E69F

Accessibility & contrast

On white

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

On black

12.16
#C8CC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC3E
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC3E#FFFFFF#000000##000000
##C8CC3E1.001.7312.1612.16
#FFFFFF1.731.0021.0021.00
#00000012.1621.001.001.00
##00000012.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC326
Deuteranopia (green-blind)
#DDC749
Tritanopia (blue-blind)
#D6BFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cc3e;
/* rgb */ color: rgb(200, 204, 62);
/* oklch */ color: oklch(81.7% 0.158 111.0);
Tailwind
colors: {
  custom: {
    50: '#dcdb7c',
    500: '#c8cc3e',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc3e;
$custom-light: #dcdb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc3e",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 62
  },
  "hsl": {
    "h": 61.69,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81705,
    "c": 0.15842,
    "h": 111
  },
  "luminance": 0.55813
}

Semantic roles & 50–950 ramp

primary
#C8CC3E
secondary
#36347B
accent
#46E14B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C8CC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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