#C8C87D#C8C87D

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

Color values

HEX#C8C87D
RGBrgb(200, 200, 125)
HSLhsl(60, 41%, 64%)
HSVhsv(60, 38%, 78%)
CMYKcmyk(0%, 0%, 37.5%, 21.6%)
CIE-LABlab(79.08, -11.17, 37.53)
CIE-LCHlch(79.08, 39.16, 106.58°)
OKLaboklab(81.58% -0.0305 0.0918)
OKLCHoklch(81.58% 0.097 108.4)
XYZxyz(48.1760, 55.0695, 27.4897)
Luminance0.5507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8C87D #7D7DC8
analogous
#C8A27D #C8C87D #A2C87D
triadic
#C8C87D #7DC8C8 #C87DC8
tetradic
#C8C87D #7DC8A2 #7D7DC8 #C87DA2
square
#C8C87D #7DC8A2 #7D7DC8 #C87DA2
split-complementary
#C8C87D #7DA2C8 #A27DC8
monochromatic
#8E8E3C #B6B652 #C8C87D #DADAA8 #ECECD3

Accessibility & contrast

On white

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

On black

12.01
#C8C87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8C87D
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8C87D#FFFFFF#000000##000000
##C8C87D1.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C277
Deuteranopia (green-blind)
#D5C580
Tritanopia (blue-blind)
#D2BFB5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c8c87d;
/* rgb */ color: rgb(200, 200, 125);
/* oklch */ color: oklch(81.6% 0.097 108.4);
Tailwind
colors: {
  custom: {
    50: '#dad8a3',
    500: '#c8c87d',
    950: '#000000',
  },
}
SCSS
$custom: #c8c87d;
$custom-light: #dad8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8c87d",
  "rgb": {
    "r": 200,
    "g": 200,
    "b": 125
  },
  "hsl": {
    "h": 60,
    "s": 40.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.81575,
    "c": 0.09671,
    "h": 108.4
  },
  "luminance": 0.55069
}

Semantic roles & 50–950 ramp

primary
#C8C87D
secondary
#545496
accent
#32B432
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #C8C87D

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

Preview Lab → · Contrast checker → · Palette generator →

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