#C7B87F#C7B87F

#C7B87F is a light, moderate yellow. Relative luminance 0.480; OKLCH L 78.2% C 0.077 H 95.1°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#C7B87F
RGBrgb(199, 184, 127)
HSLhsl(48, 39%, 64%)
HSVhsv(48, 36%, 78%)
CMYKcmyk(0%, 7.5%, 36.2%, 22%)
CIE-LABlab(74.80, -3.05, 30.92)
CIE-LCHlch(74.80, 31.07, 95.63°)
OKLaboklab(78.17% -0.0069 0.0766)
OKLCHoklch(78.17% 0.077 95.1)
XYZxyz(44.5252, 47.9567, 26.9857)
Luminance0.4795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B87F #7F8EC7
analogous
#C7947F #C7B87F #B2C77F
triadic
#C7B87F #7FC7B8 #B87FC7
tetradic
#C7B87F #7FC794 #7F8EC7 #C77FB2
square
#C7B87F #7FC794 #7F8EC7 #C77FB2
split-complementary
#C7B87F #7FB2C7 #947FC7
monochromatic
#8E7D3E #B4A054 #C7B87F #DAD0AA #ECE7D4

Accessibility & contrast

On white

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

On black

10.59
#C7B87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B87F
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B87F#FFFFFF#000000##000000
##C7B87F1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7b87f;
/* rgb */ color: rgb(199, 184, 127);
/* oklch */ color: oklch(78.2% 0.077 95.1);
Tailwind
colors: {
  custom: {
    50: '#d9cda4',
    500: '#c7b87f',
    950: '#000000',
  },
}
SCSS
$custom: #c7b87f;
$custom-light: #d9cda4;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b87f",
  "rgb": {
    "r": 199,
    "g": 184,
    "b": 127
  },
  "hsl": {
    "h": 47.5,
    "s": 39.13,
    "l": 63.922
  },
  "oklch": {
    "l": 0.78171,
    "c": 0.07691,
    "h": 95.1
  },
  "luminance": 0.47955
}

Semantic roles & 50–950 ramp

primary
#C7B87F
secondary
#C4CADE
accent
#4EB233
background
#FDFCFA
surface
#FBF8F4
border
#D4D1CE
text
#15130F
muted
#83827F

Preview Lab

Preview with #C7B87F

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

Preview Lab → · Contrast checker → · Palette generator →

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