#C8CC3A#C8CC3A

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

Color values

HEX#C8CC3A
RGBrgb(200, 204, 58)
HSLhsl(62, 59%, 51%)
HSVhsv(62, 72%, 80%)
CMYKcmyk(2%, 0%, 71.6%, 20%)
CIE-LABlab(79.48, -18.50, 67.85)
CIE-LCHlch(79.48, 70.33, 105.25°)
OKLaboklab(81.68% -0.0578 0.1501)
OKLCHoklch(81.68% 0.161 111.1)
XYZxyz(46.1776, 55.7718, 12.3347)
Luminance0.5577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC3A #3E3ACC
analogous
#CC873A #C8CC3A #7FCC3A
triadic
#C8CC3A #3AC8CC #CC3AC8
tetradic
#C8CC3A #3ACC87 #3E3ACC #CC3A7F
square
#C8CC3A #3ACC87 #3E3ACC #CC3A7F
split-complementary
#C8CC3A #3A7FCC #873ACC
monochromatic
#6D6F1D #9CA029 #C8CC3A #D6D96B #E3E59B

Accessibility & contrast

On white

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

On black

12.15
#C8CC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC3A
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC3A#FFFFFF#000000##000000
##C8CC3A1.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8cc3a;
/* rgb */ color: rgb(200, 204, 58);
/* oklch */ color: oklch(81.7% 0.161 111.1);
Tailwind
colors: {
  custom: {
    50: '#dcdb7a',
    500: '#c8cc3a',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc3a;
$custom-light: #dcdb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc3a",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 58
  },
  "hsl": {
    "h": 61.644,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81678,
    "c": 0.16086,
    "h": 111.1
  },
  "luminance": 0.55771
}

Semantic roles & 50–950 ramp

primary
#C8CC3A
secondary
#343278
accent
#46E24A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C8CC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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