#C8CC47#C8CC47

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

Color values

HEX#C8CC47
RGBrgb(200, 204, 71)
HSLhsl(62, 57%, 54%)
HSVhsv(62, 65%, 80%)
CMYKcmyk(2%, 0%, 65.2%, 20%)
CIE-LABlab(79.57, -17.81, 63.11)
CIE-LCHlch(79.57, 65.57, 105.76°)
OKLaboklab(81.77% -0.0546 0.1422)
OKLCHoklch(81.77% 0.152 111)
XYZxyz(46.5510, 55.9212, 14.3017)
Luminance0.5592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC47 #4B47CC
analogous
#CC8E47 #C8CC47 #86CC47
triadic
#C8CC47 #47C8CC #CC47C8
tetradic
#C8CC47 #47CC8E #4B47CC #CC4786
square
#C8CC47 #47CC8E #4B47CC #CC4786
split-complementary
#C8CC47 #4786CC #8E47CC
monochromatic
#757721 #A4A72E #C8CC47 #D6D977 #E5E7A7

Accessibility & contrast

On white

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

On black

12.18
#C8CC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CC47
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CC47#FFFFFF#000000##000000
##C8CC471.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8cc47;
/* rgb */ color: rgb(200, 204, 71);
/* oklch */ color: oklch(81.8% 0.152 111.0);
Tailwind
colors: {
  custom: {
    50: '#dcdb81',
    500: '#c8cc47',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc47;
$custom-light: #dcdb81;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc47",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 71
  },
  "hsl": {
    "h": 61.805,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81774,
    "c": 0.15237,
    "h": 111
  },
  "luminance": 0.5592
}

Semantic roles & 50–950 ramp

primary
#C8CC47
secondary
#393780
accent
#48E04C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8CC47

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

Preview Lab → · Contrast checker → · Palette generator →

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