#C7CD3C#C7CD3C

#C7CD3C is a light, vivid yellow. Relative luminance 0.561; OKLCH L 81.8% C 0.161 H 111.8°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#C7CD3C
RGBrgb(199, 205, 60)
HSLhsl(62, 59%, 52%)
HSVhsv(62, 71%, 80%)
CMYKcmyk(2.9%, 0%, 70.7%, 19.6%)
CIE-LABlab(79.69, -19.32, 67.33)
CIE-LCHlch(79.69, 70.04, 106.01°)
OKLaboklab(81.83% -0.0598 0.1494)
OKLCHoklch(81.83% 0.161 111.8)
XYZxyz(46.2016, 56.1321, 12.6749)
Luminance0.5613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD3C #423CCD
analogous
#CD8B3C #C7CD3C #7ECD3C
triadic
#C7CD3C #3CC7CD #CD3CC7
tetradic
#C7CD3C #3CCD8B #423CCD #CD3C7E
square
#C7CD3C #3CCD8B #423CCD #CD3C7E
split-complementary
#C7CD3C #3C7ECD #8B3CCD
monochromatic
#6E711D #9DA22A #C7CD3C #D5D96D #E3E69D

Accessibility & contrast

On white

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

On black

12.23
#C7CD3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD3C
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD3C#FFFFFF#000000##000000
##C7CD3C1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC422
Deuteranopia (green-blind)
#DDC747
Tritanopia (blue-blind)
#D5C0B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #c7cd3c;
/* rgb */ color: rgb(199, 205, 60);
/* oklch */ color: oklch(81.8% 0.161 111.8);
Tailwind
colors: {
  custom: {
    50: '#dcdc7b',
    500: '#c7cd3c',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd3c;
$custom-light: #dcdc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd3c",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 60
  },
  "hsl": {
    "h": 62.483,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81827,
    "c": 0.16092,
    "h": 111.8
  },
  "luminance": 0.56131
}

Semantic roles & 50–950 ramp

primary
#C7CD3C
secondary
#36337A
accent
#45E24C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7CD3C

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

Preview Lab → · Contrast checker → · Palette generator →

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