#C7CC4C#C7CC4C

#C7CC4C is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.7% C 0.149 H 111.4°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#C7CC4C
RGBrgb(199, 204, 76)
HSLhsl(62, 56%, 55%)
HSVhsv(62, 63%, 80%)
CMYKcmyk(2.5%, 0%, 62.7%, 20%)
CIE-LABlab(79.53, -17.92, 61.02)
CIE-LCHlch(79.53, 63.60, 106.36°)
OKLaboklab(81.74% -0.0543 0.1386)
OKLCHoklch(81.74% 0.149 111.4)
XYZxyz(46.4519, 55.8507, 15.1694)
Luminance0.5585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC4C #514CCC
analogous
#CC914C #C7CC4C #87CC4C
triadic
#C7CC4C #4CC7CC #CC4CC7
tetradic
#C7CC4C #4CCC91 #514CCC #CC4C87
square
#C7CC4C #4CCC91 #514CCC #CC4C87
split-complementary
#C7CC4C #4C87CC #914CCC
monochromatic
#777B23 #A6AA31 #C7CC4C #D6DA7C #E5E7AB

Accessibility & contrast

On white

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

On black

12.17
#C7CC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC4C
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC4C#FFFFFF#000000##000000
##C7CC4C1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33C
Deuteranopia (green-blind)
#DCC754
Tritanopia (blue-blind)
#D4C0B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cc4c;
/* rgb */ color: rgb(199, 204, 76);
/* oklch */ color: oklch(81.7% 0.149 111.4);
Tailwind
colors: {
  custom: {
    50: '#dbdb84',
    500: '#c7cc4c',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc4c;
$custom-light: #dbdb84;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc4c",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 76
  },
  "hsl": {
    "h": 62.344,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81735,
    "c": 0.14889,
    "h": 111.4
  },
  "luminance": 0.5585
}

Semantic roles & 50–950 ramp

primary
#C7CC4C
secondary
#3C3983
accent
#49DF4F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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