#C7CC2F#C7CC2F

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

Color values

HEX#C7CC2F
RGBrgb(199, 204, 47)
HSLhsl(62, 63%, 49%)
HSVhsv(62, 77%, 80%)
CMYKcmyk(2.5%, 0%, 77%, 20%)
CIE-LABlab(79.35, -19.39, 71.24)
CIE-LCHlch(79.35, 73.83, 105.22°)
OKLaboklab(81.53% -0.0611 0.1554)
OKLCHoklch(81.53% 0.167 111.5)
XYZxyz(45.6607, 55.5343, 11.0027)
Luminance0.5553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC2F #342FCC
analogous
#CC832F #C7CC2F #79CC2F
triadic
#C7CC2F #2FC7CC #CC2FC7
tetradic
#C7CC2F #2FCC83 #342FCC #CC2F79
square
#C7CC2F #2FCC83 #342FCC #CC2F79
split-complementary
#C7CC2F #2F79CC #832FCC
monochromatic
#666918 #969A24 #C7CC2F #D6DA5E #E3E590

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CC2F#FFFFFF#000000##000000
##C7CC2F1.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)
#DCC300
Deuteranopia (green-blind)
#DDC63D
Tritanopia (blue-blind)
#D5BFAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cc2f;
/* rgb */ color: rgb(199, 204, 47);
/* oklch */ color: oklch(81.5% 0.167 111.5);
Tailwind
colors: {
  custom: {
    50: '#dcdb75',
    500: '#c7cc2f',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc2f;
$custom-light: #dcdb75;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc2f",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 47
  },
  "hsl": {
    "h": 61.911,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.81532,
    "c": 0.16699,
    "h": 111.5
  },
  "luminance": 0.55533
}

Semantic roles & 50–950 ramp

primary
#C7CC2F
secondary
#2F2D72
accent
#42E647
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7CC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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