#C7CC2E#C7CC2E

#C7CC2E 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#C7CC2E
RGBrgb(199, 204, 46)
HSLhsl(62, 63%, 49%)
HSVhsv(62, 77%, 80%)
CMYKcmyk(2.5%, 0%, 77.5%, 20%)
CIE-LABlab(79.34, -19.42, 71.53)
CIE-LCHlch(79.34, 74.12, 105.19°)
OKLaboklab(81.53% -0.0613 0.1558)
OKLCHoklch(81.53% 0.167 111.5)
XYZxyz(45.6408, 55.5263, 10.8977)
Luminance0.5553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC2E #332ECC
analogous
#CC822E #C7CC2E #78CC2E
triadic
#C7CC2E #2EC7CC #CC2EC7
tetradic
#C7CC2E #2ECC82 #332ECC #CC2E78
square
#C7CC2E #2ECC82 #332ECC #CC2E78
split-complementary
#C7CC2E #2E78CC #822ECC
monochromatic
#666817 #969A23 #C7CC2E #D6DA5D #E3E68F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CC2E#FFFFFF#000000##000000
##C7CC2E1.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)
#DDC63C
Tritanopia (blue-blind)
#D5BFAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cc2e;
/* rgb */ color: rgb(199, 204, 46);
/* oklch */ color: oklch(81.5% 0.167 111.5);
Tailwind
colors: {
  custom: {
    50: '#dcdb75',
    500: '#c7cc2e',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc2e;
$custom-light: #dcdb75;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc2e",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 46
  },
  "hsl": {
    "h": 61.899,
    "s": 63.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.81527,
    "c": 0.16747,
    "h": 111.5
  },
  "luminance": 0.55525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7CC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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