#C8CC37#C8CC37

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

Color values

HEX#C8CC37
RGBrgb(200, 204, 55)
HSLhsl(62, 59%, 51%)
HSVhsv(62, 73%, 80%)
CMYKcmyk(2%, 0%, 73%, 20%)
CIE-LABlab(79.47, -18.64, 68.86)
CIE-LCHlch(79.47, 71.33, 105.15°)
OKLaboklab(81.66% -0.0584 0.1517)
OKLCHoklch(81.66% 0.163 111.1)
XYZxyz(46.1034, 55.7422, 11.9444)
Luminance0.5574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CC37 #3B37CC
analogous
#CC8537 #C8CC37 #7DCC37
triadic
#C8CC37 #37C8CC #CC37C8
tetradic
#C8CC37 #37CC85 #3B37CC #CC377D
square
#C8CC37 #37CC85 #3B37CC #CC377D
split-complementary
#C8CC37 #377DCC #8537CC
monochromatic
#6B6D1C #9A9E28 #C8CC37 #D5D868 #E3E599

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8CC37#FFFFFF#000000##000000
##C8CC371.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)
#DCC318
Deuteranopia (green-blind)
#DDC743
Tritanopia (blue-blind)
#D6BFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c8cc37;
/* rgb */ color: rgb(200, 204, 55);
/* oklch */ color: oklch(81.7% 0.163 111.1);
Tailwind
colors: {
  custom: {
    50: '#dcdb79',
    500: '#c8cc37',
    950: '#000000',
  },
}
SCSS
$custom: #c8cc37;
$custom-light: #dcdb79;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cc37",
  "rgb": {
    "r": 200,
    "g": 204,
    "b": 55
  },
  "hsl": {
    "h": 61.611,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.81659,
    "c": 0.16259,
    "h": 111.1
  },
  "luminance": 0.55741
}

Semantic roles & 50–950 ramp

primary
#C8CC37
secondary
#333176
accent
#45E349
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #C8CC37

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

Preview Lab → · Contrast checker → · Palette generator →

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