#C8CC34#C8CC34

#C8CC34 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.6% C 0.164 H 111.1°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#C8CC34
RGBrgb(200, 204, 52)
HSLhsl(62, 60%, 50%)
HSVhsv(62, 75%, 80%)
CMYKcmyk(2%, 0%, 74.5%, 20%)
CIE-LABlab(79.45, -18.77, 69.82)
CIE-LCHlch(79.45, 72.30, 105.05°)
OKLaboklab(81.64% -0.0591 0.1532)
OKLCHoklch(81.64% 0.164 111.1)
XYZxyz(46.0337, 55.7143, 11.5772)
Luminance0.5571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC34 #3834CC
analogous
#CC8434 #C8CC34 #7CCC34
triadic
#C8CC34 #34C8CC #CC34C8
tetradic
#C8CC34 #34CC84 #3834CC #CC347C
square
#C8CC34 #34CC84 #3834CC #CC347C
split-complementary
#C8CC34 #347CCC #8434CC
monochromatic
#696B1B #999C27 #C8CC34 #D5D865 #E3E596

Accessibility & contrast

On white

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

On black

12.14
#C8CC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC34
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC34#FFFFFF#000000##000000
##C8CC341.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC30F
Deuteranopia (green-blind)
#DDC741
Tritanopia (blue-blind)
#D6BFAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cc34;
/* rgb */ color: rgb(200, 204, 52);
/* oklch */ color: oklch(81.6% 0.164 111.1);
Tailwind
colors: {
  custom: {
    50: '#dddb77',
    500: '#c8cc34',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc34;
$custom-light: #dddb77;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc34",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 52
  },
  "hsl": {
    "h": 61.579,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.81642,
    "c": 0.16422,
    "h": 111.1
  },
  "luminance": 0.55713
}

Semantic roles & 50–950 ramp

primary
#C8CC34
secondary
#323074
accent
#45E349
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#16140A
muted
#84837D

Preview Lab

Preview with #C8CC34

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

Preview Lab → · Contrast checker → · Palette generator →

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