#C7CC37#C7CC37

#C7CC37 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.6% C 0.163 H 111.5°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#C7CC37
RGBrgb(199, 204, 55)
HSLhsl(62, 59%, 51%)
HSVhsv(62, 73%, 80%)
CMYKcmyk(2.5%, 0%, 73%, 20%)
CIE-LABlab(79.39, -19.06, 68.76)
CIE-LCHlch(79.39, 71.35, 105.49°)
OKLaboklab(81.58% -0.0596 0.1515)
OKLCHoklch(81.58% 0.163 111.5)
XYZxyz(45.8372, 55.6049, 11.9319)
Luminance0.5560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC37 #3C37CC
analogous
#CC8637 #C7CC37 #7DCC37
triadic
#C7CC37 #37C7CC #CC37C7
tetradic
#C7CC37 #37CC86 #3C37CC #CC377D
square
#C7CC37 #37CC86 #3C37CC #CC377D
split-complementary
#C7CC37 #377DCC #8637CC
monochromatic
#6A6D1C #9A9E28 #C7CC37 #D5D868 #E2E599

Accessibility & contrast

On white

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

On black

12.12
#C7CC37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC37
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC37#FFFFFF#000000##000000
##C7CC371.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC318
Deuteranopia (green-blind)
#DDC643
Tritanopia (blue-blind)
#D5BFB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cc37;
/* rgb */ color: rgb(199, 204, 55);
/* oklch */ color: oklch(81.6% 0.163 111.5);
Tailwind
colors: {
  custom: {
    50: '#dcdb79',
    500: '#c7cc37',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc37;
$custom-light: #dcdb79;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc37",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 55
  },
  "hsl": {
    "h": 62.013,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.81577,
    "c": 0.16282,
    "h": 111.5
  },
  "luminance": 0.55604
}

Semantic roles & 50–950 ramp

primary
#C7CC37
secondary
#333176
accent
#45E34B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7CC37

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

Preview Lab → · Contrast checker → · Palette generator →

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