#C7CD72#C7CD72

#C7CD72 is a very light, moderate yellow. Relative luminance 0.570; OKLCH L 82.4% C 0.115 H 112.0°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#C7CD72
RGBrgb(199, 205, 114)
HSLhsl(64, 48%, 63%)
HSVhsv(64, 44%, 80%)
CMYKcmyk(2.9%, 0%, 44.4%, 19.6%)
CIE-LABlab(80.19, -15.28, 44.41)
CIE-LCHlch(80.19, 46.97, 108.99°)
OKLaboklab(82.39% -0.043 0.1067)
OKLCHoklch(82.39% 0.115 112)
XYZxyz(48.4225, 57.0205, 24.3715)
Luminance0.5702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD72 #7872CD
analogous
#CDA572 #C7CD72 #9ACD72
triadic
#C7CD72 #72C7CD #CD72C7
tetradic
#C7CD72 #72CDA5 #7872CD #CD729A
square
#C7CD72 #72CDA5 #7872CD #CD729A
split-complementary
#C7CD72 #729ACD #A572CD
monochromatic
#8B9133 #B5BD45 #C7CD72 #D9DD9F #EBEDCC

Accessibility & contrast

On white

1.69
#C7CD72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#C7CD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD72
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD72#FFFFFF#000000##000000
##C7CD721.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C66A
Deuteranopia (green-blind)
#D9C876
Tritanopia (blue-blind)
#D1C3B7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c7cd72;
/* rgb */ color: rgb(199, 205, 114);
/* oklch */ color: oklch(82.4% 0.115 112.0);
Tailwind
colors: {
  custom: {
    50: '#d9dc9c',
    500: '#c7cd72',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd72;
$custom-light: #d9dc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd72",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 114
  },
  "hsl": {
    "h": 63.956,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8239,
    "c": 0.11506,
    "h": 112
  },
  "luminance": 0.5702
}

Semantic roles & 50–950 ramp

primary
#C7CD72
secondary
#514C97
accent
#2BBB34
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7CD72

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

Preview Lab → · Contrast checker → · Palette generator →

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