#C8BC7F#C8BC7F

#C8BC7F is a light, moderate yellow. Relative luminance 0.498; OKLCH L 79.1% C 0.081 H 98.4°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#C8BC7F
RGBrgb(200, 188, 127)
HSLhsl(50, 40%, 64%)
HSVhsv(50, 37%, 78%)
CMYKcmyk(0%, 6%, 36.5%, 21.6%)
CIE-LABlab(75.93, -4.75, 32.42)
CIE-LCHlch(75.93, 32.77, 98.33°)
OKLaboklab(79.09% -0.0118 0.0801)
OKLCHoklch(79.09% 0.081 98.4)
XYZxyz(45.6341, 49.7794, 27.2791)
Luminance0.4978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BC7F #7F8BC8
analogous
#C8987F #C8BC7F #B0C87F
triadic
#C8BC7F #7FC8BC #BC7FC8
tetradic
#C8BC7F #7FC898 #7F8BC8 #C87FB0
square
#C8BC7F #7FC898 #7F8BC8 #C87FB0
split-complementary
#C8BC7F #7FB0C8 #987FC8
monochromatic
#8F823D #B6A654 #C8BC7F #DAD2AA #EDE9D5

Accessibility & contrast

On white

1.92
#C8BC7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#C8BC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BC7F
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BC7F#FFFFFF#000000##000000
##C8BC7F1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B97B
Deuteranopia (green-blind)
#CBBD81
Tritanopia (blue-blind)
#D3B4AC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c8bc7f;
/* rgb */ color: rgb(200, 188, 127);
/* oklch */ color: oklch(79.1% 0.081 98.4);
Tailwind
colors: {
  custom: {
    50: '#dad0a5',
    500: '#c8bc7f',
    950: '#000000',
  },
}
SCSS
$custom: #c8bc7f;
$custom-light: #dad0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bc7f",
  "rgb": {
    "r": 200,
    "g": 188,
    "b": 127
  },
  "hsl": {
    "h": 50.137,
    "s": 39.891,
    "l": 64.118
  },
  "oklch": {
    "l": 0.79089,
    "c": 0.08097,
    "h": 98.4
  },
  "luminance": 0.49778
}

Semantic roles & 50–950 ramp

primary
#C8BC7F
secondary
#C5C9DE
accent
#48B333
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #C8BC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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