#C7CC36#C7CC36

#C7CC36 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#C7CC36
RGBrgb(199, 204, 54)
HSLhsl(62, 60%, 51%)
HSVhsv(62, 74%, 80%)
CMYKcmyk(2.5%, 0%, 73.5%, 20%)
CIE-LABlab(79.38, -19.10, 69.08)
CIE-LCHlch(79.38, 71.67, 105.46°)
OKLaboklab(81.57% -0.0598 0.1521)
OKLCHoklch(81.57% 0.163 111.5)
XYZxyz(45.8135, 55.5954, 11.8070)
Luminance0.5559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC36 #3B36CC
analogous
#CC8636 #C7CC36 #7CCC36
triadic
#C7CC36 #36C7CC #CC36C7
tetradic
#C7CC36 #36CC86 #3B36CC #CC367C
square
#C7CC36 #36CC86 #3B36CC #CC367C
split-complementary
#C7CC36 #367CCC #8636CC
monochromatic
#696C1B #999D28 #C7CC36 #D5D867 #E2E598

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CC36#FFFFFF#000000##000000
##C7CC361.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)
#DCC315
Deuteranopia (green-blind)
#DDC642
Tritanopia (blue-blind)
#D5BFAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cc36;
/* rgb */ color: rgb(199, 204, 54);
/* oklch */ color: oklch(81.6% 0.163 111.5);
Tailwind
colors: {
  custom: {
    50: '#dcdb78',
    500: '#c7cc36',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc36;
$custom-light: #dcdb78;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc36",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 54
  },
  "hsl": {
    "h": 62,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.81571,
    "c": 0.16338,
    "h": 111.5
  },
  "luminance": 0.55594
}

Semantic roles & 50–950 ramp

primary
#C7CC36
secondary
#333076
accent
#45E34A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7CC36

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

Preview Lab → · Contrast checker → · Palette generator →

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