#C8B87F#C8B87F

#C8B87F is a light, moderate yellow. Relative luminance 0.481; OKLCH L 78.3% C 0.077 H 94.3°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#C8B87F
RGBrgb(200, 184, 127)
HSLhsl(47, 40%, 64%)
HSVhsv(47, 37%, 78%)
CMYKcmyk(0%, 8%, 36.5%, 21.6%)
CIE-LABlab(74.88, -2.65, 31.05)
CIE-LCHlch(74.88, 31.16, 94.87°)
OKLaboklab(78.26% -0.0058 0.0769)
OKLCHoklch(78.26% 0.077 94.3)
XYZxyz(44.7915, 48.0940, 26.9982)
Luminance0.4809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B87F #7F8FC8
analogous
#C8947F #C8B87F #B4C87F
triadic
#C8B87F #7FC8B8 #B87FC8
tetradic
#C8B87F #7FC894 #7F8FC8 #C87FB4
square
#C8B87F #7FC894 #7F8FC8 #C87FB4
split-complementary
#C8B87F #7FB4C8 #947FC8
monochromatic
#8F7D3D #B6A054 #C8B87F #DAD0AA #EDE7D5

Accessibility & contrast

On white

1.98
#C8B87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#C8B87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B87F
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B87F#FFFFFF#000000##000000
##C8B87F1.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B57B
Deuteranopia (green-blind)
#C8BB81
Tritanopia (blue-blind)
#D3B0A9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8b87f;
/* rgb */ color: rgb(200, 184, 127);
/* oklch */ color: oklch(78.3% 0.077 94.3);
Tailwind
colors: {
  custom: {
    50: '#dacda4',
    500: '#c8b87f',
    950: '#000000',
  },
}
SCSS
$custom: #c8b87f;
$custom-light: #dacda4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b87f",
  "rgb": {
    "r": 200,
    "g": 184,
    "b": 127
  },
  "hsl": {
    "h": 46.849,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.7826,
    "c": 0.07712,
    "h": 94.3
  },
  "luminance": 0.48093
}

Semantic roles & 50–950 ramp

primary
#C8B87F
secondary
#C5CADE
accent
#4FB333
background
#FDFCFA
surface
#FBF8F4
border
#D4D1CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #C8B87F

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

Preview Lab → · Contrast checker → · Palette generator →

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