#C7CC32#C7CC32

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

Color values

HEX#C7CC32
RGBrgb(199, 204, 50)
HSLhsl(62, 61%, 50%)
HSVhsv(62, 75%, 80%)
CMYKcmyk(2.5%, 0%, 75.5%, 20%)
CIE-LABlab(79.36, -19.27, 70.34)
CIE-LCHlch(79.36, 72.93, 105.32°)
OKLaboklab(81.55% -0.0606 0.154)
OKLCHoklch(81.55% 0.166 111.5)
XYZxyz(45.7234, 55.5593, 11.3324)
Luminance0.5556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC32 #3732CC
analogous
#CC8432 #C7CC32 #7ACC32
triadic
#C7CC32 #32C7CC #CC32C7
tetradic
#C7CC32 #32CC84 #3732CC #CC327A
square
#C7CC32 #32CC84 #3732CC #CC327A
split-complementary
#C7CC32 #327ACC #8432CC
monochromatic
#676A1A #979B26 #C7CC32 #D5D963 #E2E594

Accessibility & contrast

On white

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

On black

12.11
#C7CC32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC32
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC32#FFFFFF#000000##000000
##C7CC321.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC308
Deuteranopia (green-blind)
#DDC63F
Tritanopia (blue-blind)
#D5BFAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cc32;
/* rgb */ color: rgb(199, 204, 50);
/* oklch */ color: oklch(81.5% 0.166 111.5);
Tailwind
colors: {
  custom: {
    50: '#dcdb76',
    500: '#c7cc32',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc32;
$custom-light: #dcdb76;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc32",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 50
  },
  "hsl": {
    "h": 61.948,
    "s": 60.63,
    "l": 49.804
  },
  "oklch": {
    "l": 0.81548,
    "c": 0.16551,
    "h": 111.5
  },
  "luminance": 0.55558
}

Semantic roles & 50–950 ramp

primary
#C7CC32
secondary
#312F74
accent
#44E449
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7CC32

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

Preview Lab → · Contrast checker → · Palette generator →

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