#C7CD4C#C7CD4C

#C7CD4C is a light, vivid yellow. Relative luminance 0.563; OKLCH L 82.0% C 0.150 H 111.8°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#C7CD4C
RGBrgb(199, 205, 76)
HSLhsl(63, 56%, 55%)
HSVhsv(63, 63%, 80%)
CMYKcmyk(2.9%, 0%, 62.9%, 19.6%)
CIE-LABlab(79.80, -18.41, 61.31)
CIE-LCHlch(79.80, 64.02, 106.72°)
OKLaboklab(81.95% -0.0557 0.1392)
OKLCHoklch(81.95% 0.15 111.8)
XYZxyz(46.6903, 56.3276, 15.2488)
Luminance0.5633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD4C #524CCD
analogous
#CD934C #C7CD4C #86CD4C
triadic
#C7CD4C #4CC7CD #CD4CC7
tetradic
#C7CD4C #4CCD93 #524CCD #CD4C86
square
#C7CD4C #4CCD93 #524CCD #CD4C86
split-complementary
#C7CD4C #4C86CD #934CCD
monochromatic
#787C23 #A6AC30 #C7CD4C #D6DA7C #E5E8AC

Accessibility & contrast

On white

1.71
#C7CD4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#C7CD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD4C
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD4C#FFFFFF#000000##000000
##C7CD4C1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43B
Deuteranopia (green-blind)
#DCC754
Tritanopia (blue-blind)
#D4C1B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7cd4c;
/* rgb */ color: rgb(199, 205, 76);
/* oklch */ color: oklch(82.0% 0.150 111.8);
Tailwind
colors: {
  custom: {
    50: '#dbdc84',
    500: '#c7cd4c',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd4c;
$custom-light: #dbdc84;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd4c",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 76
  },
  "hsl": {
    "h": 62.791,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81951,
    "c": 0.14997,
    "h": 111.8
  },
  "luminance": 0.56327
}

Semantic roles & 50–950 ramp

primary
#C7CD4C
secondary
#3D3984
accent
#48E04F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7CD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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