#C8BF87#C8BF87

#C8BF87 is a light, moderate yellow. Relative luminance 0.513; OKLCH L 79.9% C 0.075 H 100.1°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#C8BF87
RGBrgb(200, 191, 135)
HSLhsl(52, 37%, 66%)
HSVhsv(52, 33%, 78%)
CMYKcmyk(0%, 4.5%, 32.5%, 21.6%)
CIE-LABlab(76.86, -5.34, 29.45)
CIE-LCHlch(76.86, 29.93, 100.29°)
OKLaboklab(79.86% -0.0131 0.0734)
OKLCHoklch(79.86% 0.075 100.1)
XYZxyz(46.8239, 51.2913, 30.3506)
Luminance0.5129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BF87 #8790C8
analogous
#C89E87 #C8BF87 #B0C887
triadic
#C8BF87 #87C8BF #BF87C8
tetradic
#C8BF87 #87C89E #8790C8 #C887B0
square
#C8BF87 #87C89E #8790C8 #C887B0
split-complementary
#C8BF87 #87B0C8 #9E87C8
monochromatic
#928743 #B5A95D #C8BF87 #DBD5B1 #EEECDB

Accessibility & contrast

On white

1.87
#C8BF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#C8BF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BF87
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BF87#FFFFFF#000000##000000
##C8BF871.001.8711.2611.26
#FFFFFF1.871.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9BB83
Deuteranopia (green-blind)
#CCBF89
Tritanopia (blue-blind)
#D2B7B0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c8bf87;
/* rgb */ color: rgb(200, 191, 135);
/* oklch */ color: oklch(79.9% 0.075 100.1);
Tailwind
colors: {
  custom: {
    50: '#d9d2aa',
    500: '#c8bf87',
    950: '#000000',
  },
}
SCSS
$custom: #c8bf87;
$custom-light: #d9d2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bf87",
  "rgb": {
    "r": 200,
    "g": 191,
    "b": 135
  },
  "hsl": {
    "h": 51.692,
    "s": 37.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.79862,
    "c": 0.07455,
    "h": 100.1
  },
  "luminance": 0.5129
}

Semantic roles & 50–950 ramp

primary
#C8BF87
secondary
#5A6399
accent
#46B035
background
#FEFEFD
surface
#FBFBF7
border
#D4D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #C8BF87

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

Preview Lab → · Contrast checker → · Palette generator →

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