#C6B87F#C6B87F

#C6B87F is a light, moderate yellow. Relative luminance 0.478; OKLCH L 78.1% C 0.077 H 96.0°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#C6B87F
RGBrgb(198, 184, 127)
HSLhsl(48, 38%, 64%)
HSVhsv(48, 36%, 78%)
CMYKcmyk(0%, 7.1%, 35.9%, 22.4%)
CIE-LABlab(74.71, -3.45, 30.79)
CIE-LCHlch(74.71, 30.98, 96.39°)
OKLaboklab(78.08% -0.008 0.0763)
OKLCHoklch(78.08% 0.077 96)
XYZxyz(44.2607, 47.8203, 26.9733)
Luminance0.4782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6B87F #7F8DC6
analogous
#C6947F #C6B87F #B0C67F
triadic
#C6B87F #7FC6B8 #B87FC6
tetradic
#C6B87F #7FC694 #7F8DC6 #C67FB0
square
#C6B87F #7FC694 #7F8DC6 #C67FB0
split-complementary
#C6B87F #7FB0C6 #947FC6
monochromatic
#8C7D3E #B3A155 #C6B87F #D9CFA9 #ECE7D4

Accessibility & contrast

On white

1.99
#C6B87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#C6B87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6B87F
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6B87F#FFFFFF#000000##000000
##C6B87F1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B57B
Deuteranopia (green-blind)
#C7BA81
Tritanopia (blue-blind)
#D1B0A9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c6b87f;
/* rgb */ color: rgb(198, 184, 127);
/* oklch */ color: oklch(78.1% 0.077 96.0);
Tailwind
colors: {
  custom: {
    50: '#d8cda4',
    500: '#c6b87f',
    950: '#000000',
  },
}
SCSS
$custom: #c6b87f;
$custom-light: #d8cda4;
$custom-dark: #000000;
JSON
{
  "hex": "#c6b87f",
  "rgb": {
    "r": 198,
    "g": 184,
    "b": 127
  },
  "hsl": {
    "h": 48.169,
    "s": 38.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.78082,
    "c": 0.07673,
    "h": 96
  },
  "luminance": 0.47819
}

Semantic roles & 50–950 ramp

primary
#C6B87F
secondary
#C4C9DD
accent
#4DB134
background
#FDFCFA
surface
#FAF8F4
border
#D3D1CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #C6B87F

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

Preview Lab → · Contrast checker → · Palette generator →

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