#C7CD7D#C7CD7D

#C7CD7D is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 82.6% C 0.103 H 112.1°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#C7CD7D
RGBrgb(199, 205, 125)
HSLhsl(65, 44%, 65%)
HSVhsv(65, 39%, 80%)
CMYKcmyk(2.9%, 0%, 39%, 19.6%)
CIE-LABlab(80.34, -14.11, 39.12)
CIE-LCHlch(80.34, 41.58, 109.83°)
OKLaboklab(82.56% -0.0388 0.0954)
OKLCHoklch(82.56% 0.103 112.1)
XYZxyz(49.0867, 57.2862, 27.8695)
Luminance0.5728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD7D #837DCD
analogous
#CDAB7D #C7CD7D #9FCD7D
triadic
#C7CD7D #7DC7CD #CD7DC7
tetradic
#C7CD7D #7DCDAB #837DCD #CD7D9F
square
#C7CD7D #7DCDAB #837DCD #CD7D9F
split-complementary
#C7CD7D #7D9FCD #AB7DCD
monochromatic
#8F963A #B4BC51 #C7CD7D #DADEA9 #EDEFD5

Accessibility & contrast

On white

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

On black

12.46
#C7CD7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD7D
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD7D#FFFFFF#000000##000000
##C7CD7D1.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C677
Deuteranopia (green-blind)
#D8C881
Tritanopia (blue-blind)
#D0C4B9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #c7cd7d;
/* rgb */ color: rgb(199, 205, 125);
/* oklch */ color: oklch(82.6% 0.103 112.1);
Tailwind
colors: {
  custom: {
    50: '#d9dca4',
    500: '#c7cd7d',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd7d;
$custom-light: #d9dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd7d",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 125
  },
  "hsl": {
    "h": 64.5,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82557,
    "c": 0.10301,
    "h": 112.1
  },
  "luminance": 0.57285
}

Semantic roles & 50–950 ramp

primary
#C7CD7D
secondary
#58529C
accent
#2EB838
background
#FEFEFC
surface
#FBFBF6
border
#D4D4D0
text
#15150F
muted
#848480

Preview Lab

Preview with #C7CD7D

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

Preview Lab → · Contrast checker → · Palette generator →

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