#C7CC50#C7CC50

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

Color values

HEX#C7CC50
RGBrgb(199, 204, 80)
HSLhsl(62, 55%, 56%)
HSVhsv(62, 61%, 80%)
CMYKcmyk(2.5%, 0%, 60.8%, 20%)
CIE-LABlab(79.56, -17.65, 59.39)
CIE-LCHlch(79.56, 61.96, 106.56°)
OKLaboklab(81.77% -0.0532 0.1357)
OKLCHoklch(81.77% 0.146 111.4)
XYZxyz(46.5953, 55.9081, 15.9247)
Luminance0.5591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC50 #5550CC
analogous
#CC9350 #C7CC50 #89CC50
triadic
#C7CC50 #50C7CC #CC50C7
tetradic
#C7CC50 #50CC93 #5550CC #CC5089
square
#C7CC50 #50CC93 #5550CC #CC5089
split-complementary
#C7CC50 #5089CC #9350CC
monochromatic
#7A7D24 #A8AD32 #C7CC50 #D6DA7F #E5E8AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CC50#FFFFFF#000000##000000
##C7CC501.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)
#DBC341
Deuteranopia (green-blind)
#DBC758
Tritanopia (blue-blind)
#D4C0B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cc50;
/* rgb */ color: rgb(199, 204, 80);
/* oklch */ color: oklch(81.8% 0.146 111.4);
Tailwind
colors: {
  custom: {
    50: '#dbdb86',
    500: '#c7cc50',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc50;
$custom-light: #dbdb86;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc50",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 80
  },
  "hsl": {
    "h": 62.419,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.81771,
    "c": 0.14576,
    "h": 111.4
  },
  "luminance": 0.55907
}

Semantic roles & 50–950 ramp

primary
#C7CC50
secondary
#3E3B85
accent
#4ADE50
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#15140C
muted
#84837F

Preview Lab

Preview with #C7CC50

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

Preview Lab → · Contrast checker → · Palette generator →

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