#C8CF87#C8CF87

#C8CF87 is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.2% C 0.094 H 113.0°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#C8CF87
RGBrgb(200, 207, 135)
HSLhsl(66, 43%, 67%)
HSVhsv(66, 35%, 81%)
CMYKcmyk(3.4%, 0%, 34.8%, 18.8%)
CIE-LABlab(81.10, -13.56, 35.03)
CIE-LCHlch(81.10, 37.56, 111.16°)
OKLaboklab(83.23% -0.0366 0.0864)
OKLCHoklch(83.23% 0.094 113)
XYZxyz(50.5057, 58.6549, 31.5779)
Luminance0.5865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8CF87 #8E87CF
analogous
#CFB287 #C8CF87 #A4CF87
triadic
#C8CF87 #87C8CF #CF87C8
tetradic
#C8CF87 #87CFB2 #8E87CF #CF87A4
square
#C8CF87 #87CFB2 #8E87CF #CF87A4
split-complementary
#C8CF87 #87A4CF #B287CF
monochromatic
#949D3F #B4BE5B #C8CF87 #DCE0B3 #F0F2DE

Accessibility & contrast

On white

1.65
#C8CF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#C8CF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8CF87
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8CF87#FFFFFF#000000##000000
##C8CF871.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C882
Deuteranopia (green-blind)
#D9CA8A
Tritanopia (blue-blind)
#D0C7BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c8cf87;
/* rgb */ color: rgb(200, 207, 135);
/* oklch */ color: oklch(83.2% 0.094 113.0);
Tailwind
colors: {
  custom: {
    50: '#d9ddab',
    500: '#c8cf87',
    950: '#000000',
  },
}
SCSS
$custom: #c8cf87;
$custom-light: #d9ddab;
$custom-dark: #000000;
JSON
{
  "hex": "#c8cf87",
  "rgb": {
    "r": 200,
    "g": 207,
    "b": 135
  },
  "hsl": {
    "h": 65.833,
    "s": 42.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.83231,
    "c": 0.09388,
    "h": 113
  },
  "luminance": 0.58654
}

Semantic roles & 50–950 ramp

primary
#C8CF87
secondary
#5F58A3
accent
#30B63D
background
#FEFEFD
surface
#FBFCF7
border
#D4D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #C8CF87

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

Preview Lab → · Contrast checker → · Palette generator →

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