#C7CC2D#C7CC2D

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

Color values

HEX#C7CC2D
RGBrgb(199, 204, 45)
HSLhsl(62, 64%, 49%)
HSVhsv(62, 78%, 80%)
CMYKcmyk(2.5%, 0%, 77.9%, 20%)
CIE-LABlab(79.34, -19.46, 71.81)
CIE-LCHlch(79.34, 74.40, 105.16°)
OKLaboklab(81.52% -0.0615 0.1563)
OKLCHoklch(81.52% 0.168 111.5)
XYZxyz(45.6213, 55.5185, 10.7951)
Luminance0.5552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CC2D #322DCC
analogous
#CC822D #C7CC2D #78CC2D
triadic
#C7CC2D #2DC7CC #CC2DC7
tetradic
#C7CC2D #2DCC82 #322DCC #CC2D78
square
#C7CC2D #2DCC82 #322DCC #CC2D78
split-complementary
#C7CC2D #2D78CC #822DCC
monochromatic
#656817 #969A22 #C7CC2D #D7DB5B #E3E68D

Accessibility & contrast

On white

1.74
#C7CC2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#C7CC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CC2D
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CC2D#FFFFFF#000000##000000
##C7CC2D1.001.7412.1012.10
#FFFFFF1.741.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.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: #c7cc2d;
/* rgb */ color: rgb(199, 204, 45);
/* oklch */ color: oklch(81.5% 0.168 111.5);
Tailwind
colors: {
  custom: {
    50: '#dcdb74',
    500: '#c7cc2d',
    950: '#000000',
  },
}
SCSS
$custom: #c7cc2d;
$custom-light: #dcdb74;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cc2d",
  "rgb": {
    "r": 199,
    "g": 204,
    "b": 45
  },
  "hsl": {
    "h": 61.887,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.81522,
    "c": 0.16794,
    "h": 111.5
  },
  "luminance": 0.55517
}

Semantic roles & 50–950 ramp

primary
#C7CC2D
secondary
#2E2B72
accent
#41E746
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7CC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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