#C7CD87#C7CD87

#C7CD87 is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 82.7% C 0.091 H 112.4°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#C7CD87
RGBrgb(199, 205, 135)
HSLhsl(65, 41%, 67%)
HSVhsv(65, 34%, 80%)
CMYKcmyk(2.9%, 0%, 34.1%, 19.6%)
CIE-LABlab(80.49, -12.93, 34.22)
CIE-LCHlch(80.49, 36.58, 110.70°)
OKLaboklab(82.73% -0.0348 0.0846)
OKLCHoklch(82.73% 0.091 112.4)
XYZxyz(49.7579, 57.5547, 31.4049)
Luminance0.5755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CD87 #8D87CD
analogous
#CDB087 #C7CD87 #A4CD87
triadic
#C7CD87 #87C7CD #CD87C7
tetradic
#C7CD87 #87CDB0 #8D87CD #CD87A4
square
#C7CD87 #87CDB0 #8D87CD #CD87A4
split-complementary
#C7CD87 #87A4CD #B087CD
monochromatic
#929A40 #B3BB5C #C7CD87 #DBDFB2 #EFF1DD

Accessibility & contrast

On white

1.68
#C7CD87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#C7CD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CD87
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CD87#FFFFFF#000000##000000
##C7CD871.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C782
Deuteranopia (green-blind)
#D7C98A
Tritanopia (blue-blind)
#CFC5BB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c7cd87;
/* rgb */ color: rgb(199, 205, 135);
/* oklch */ color: oklch(82.7% 0.091 112.4);
Tailwind
colors: {
  custom: {
    50: '#d9dcaa',
    500: '#c7cd87',
    950: '#000000',
  },
}
SCSS
$custom: #c7cd87;
$custom-light: #d9dcaa;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cd87",
  "rgb": {
    "r": 199,
    "g": 205,
    "b": 135
  },
  "hsl": {
    "h": 65.143,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.82726,
    "c": 0.09146,
    "h": 112.4
  },
  "luminance": 0.57554
}

Semantic roles & 50–950 ramp

primary
#C7CD87
secondary
#5E58A0
accent
#31B43D
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #C7CD87

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

Preview Lab → · Contrast checker → · Palette generator →

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