#C8CD87#C8CD87

#C8CD87 is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.091 H 111.7°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#C8CD87
RGBrgb(200, 205, 135)
HSLhsl(64, 41%, 67%)
HSVhsv(64, 34%, 80%)
CMYKcmyk(2.4%, 0%, 34.1%, 19.6%)
CIE-LABlab(80.57, -12.55, 34.34)
CIE-LCHlch(80.57, 36.56, 110.07°)
OKLaboklab(82.81% -0.0337 0.0848)
OKLCHoklch(82.81% 0.091 111.7)
XYZxyz(50.0242, 57.6920, 31.4174)
Luminance0.5769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CD87 #8C87CD
analogous
#CDAF87 #C8CD87 #A5CD87
triadic
#C8CD87 #87C8CD #CD87C8
tetradic
#C8CD87 #87CDAF #8C87CD #CD87A5
square
#C8CD87 #87CDAF #8C87CD #CD87A5
split-complementary
#C8CD87 #87A5CD #AF87CD
monochromatic
#939A40 #B4BB5C #C8CD87 #DCDFB2 #F0F1DD

Accessibility & contrast

On white

1.67
#C8CD87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#C8CD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CD87
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CD87#FFFFFF#000000##000000
##C8CD871.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8cd87;
/* rgb */ color: rgb(200, 205, 135);
/* oklch */ color: oklch(82.8% 0.091 111.7);
Tailwind
colors: {
  custom: {
    50: '#d9dcaa',
    500: '#c8cd87',
    950: '#000000',
  },
}
SCSS
$custom: #c8cd87;
$custom-light: #d9dcaa;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cd87",
  "rgb": {
    "r": 200,
    "g": 205,
    "b": 135
  },
  "hsl": {
    "h": 64.286,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.82806,
    "c": 0.0913,
    "h": 111.7
  },
  "luminance": 0.57691
}

Semantic roles & 50–950 ramp

primary
#C8CD87
secondary
#5D58A0
accent
#31B43B
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #C8CD87

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

Preview Lab → · Contrast checker → · Palette generator →

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