#C7CD4D#C7CD4D

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

Color values

HEX#C7CD4D
RGBrgb(199, 205, 77)
HSLhsl(63, 56%, 55%)
HSVhsv(63, 62%, 80%)
CMYKcmyk(2.9%, 0%, 62.4%, 19.6%)
CIE-LABlab(79.81, -18.35, 60.91)
CIE-LCHlch(79.81, 63.61, 106.77°)
OKLaboklab(81.96% -0.0554 0.1385)
OKLCHoklch(81.96% 0.149 111.8)
XYZxyz(46.7254, 56.3416, 15.4334)
Luminance0.5634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD4D #534DCD
analogous
#CD934D #C7CD4D #87CD4D
triadic
#C7CD4D #4DC7CD #CD4DC7
tetradic
#C7CD4D #4DCD93 #534DCD #CD4D87
square
#C7CD4D #4DCD93 #534DCD #CD4D87
split-complementary
#C7CD4D #4D87CD #934DCD
monochromatic
#787D23 #A7AC30 #C7CD4D #D6DA7D #E5E8AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7CD4D#FFFFFF#000000##000000
##C7CD4D1.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)
#DCC43D
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#D4C1B2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #c7cd4d;
/* rgb */ color: rgb(199, 205, 77);
/* oklch */ color: oklch(82.0% 0.149 111.8);
Tailwind
colors: {
  custom: {
    50: '#dbdc85',
    500: '#c7cd4d',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd4d;
$custom-light: #dbdc85;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd4d",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 77
  },
  "hsl": {
    "h": 62.813,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.8196,
    "c": 0.1492,
    "h": 111.8
  },
  "luminance": 0.56341
}

Semantic roles & 50–950 ramp

primary
#C7CD4D
secondary
#3D3A84
accent
#48DF4F
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7CD4D

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

Preview Lab → · Contrast checker → · Palette generator →

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