#C8BA87#C8BA87

#C8BA87 is a light, moderate yellow. Relative luminance 0.491; OKLCH L 78.8% C 0.069 H 94.6°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#C8BA87
RGBrgb(200, 186, 135)
HSLhsl(47, 37%, 66%)
HSVhsv(47, 33%, 78%)
CMYKcmyk(0%, 7%, 32.5%, 21.6%)
CIE-LABlab(75.54, -2.73, 27.70)
CIE-LCHlch(75.54, 27.83, 95.62°)
OKLaboklab(78.83% -0.0056 0.0693)
OKLCHoklch(78.83% 0.069 94.6)
XYZxyz(45.7521, 49.1477, 29.9933)
Luminance0.4915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA87 #8795C8
analogous
#C89987 #C8BA87 #B5C887
triadic
#C8BA87 #87C8BA #BA87C8
tetradic
#C8BA87 #87C899 #8795C8 #C887B5
square
#C8BA87 #87C899 #8795C8 #C887B5
split-complementary
#C8BA87 #87B5C8 #9987C8
monochromatic
#928143 #B5A25D #C8BA87 #DBD2B1 #EEEADB

Accessibility & contrast

On white

1.94
#C8BA87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#C8BA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA87
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA87#FFFFFF#000000##000000
##C8BA871.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B784
Deuteranopia (green-blind)
#C8BC89
Tritanopia (blue-blind)
#D2B2AD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c8ba87;
/* rgb */ color: rgb(200, 186, 135);
/* oklch */ color: oklch(78.8% 0.069 94.6);
Tailwind
colors: {
  custom: {
    50: '#d9ceaa',
    500: '#c8ba87',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba87;
$custom-light: #d9ceaa;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba87",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 135
  },
  "hsl": {
    "h": 47.077,
    "s": 37.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.78825,
    "c": 0.06948,
    "h": 94.6
  },
  "luminance": 0.49146
}

Semantic roles & 50–950 ramp

primary
#C8BA87
secondary
#CBCFE0
accent
#50B035
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#151310
muted
#83827F

Preview Lab

Preview with #C8BA87

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

Preview Lab → · Contrast checker → · Palette generator →

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