#C8C87F#C8C87F

#C8C87F is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.094 H 108.3°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#C8C87F
RGBrgb(200, 200, 127)
HSLhsl(60, 40%, 64%)
HSVhsv(60, 37%, 78%)
CMYKcmyk(0%, 0%, 36.5%, 21.6%)
CIE-LABlab(79.11, -10.95, 36.55)
CIE-LCHlch(79.11, 38.15, 106.68°)
OKLaboklab(81.61% -0.0297 0.0896)
OKLCHoklch(81.61% 0.094 108.3)
XYZxyz(48.3050, 55.1211, 28.1694)
Luminance0.5512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C87F #7F7FC8
analogous
#C8A47F #C8C87F #A4C87F
triadic
#C8C87F #7FC8C8 #C87FC8
tetradic
#C8C87F #7FC8A4 #7F7FC8 #C87FA4
square
#C8C87F #7FC8A4 #7F7FC8 #C87FA4
split-complementary
#C8C87F #7FA4C8 #A47FC8
monochromatic
#8F8F3D #B6B654 #C8C87F #DADAAA #EDEDD5

Accessibility & contrast

On white

1.75
#C8C87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#C8C87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C87F
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C87F#FFFFFF#000000##000000
##C8C87F1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C27A
Deuteranopia (green-blind)
#D4C582
Tritanopia (blue-blind)
#D2BFB6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c8c87f;
/* rgb */ color: rgb(200, 200, 127);
/* oklch */ color: oklch(81.6% 0.094 108.3);
Tailwind
colors: {
  custom: {
    50: '#dad8a5',
    500: '#c8c87f',
    950: '#000000',
  },
}
SCSS
$custom: #c8c87f;
$custom-light: #dad8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c87f",
  "rgb": {
    "r": 200,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 60,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.81608,
    "c": 0.09441,
    "h": 108.3
  },
  "luminance": 0.5512
}

Semantic roles & 50–950 ramp

primary
#C8C87F
secondary
#555596
accent
#33B333
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #C8C87F

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

Preview Lab → · Contrast checker → · Palette generator →

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