#C8BA8A#C8BA8A

#C8BA8A is a light, moderate yellow. Relative luminance 0.492; OKLCH L 78.9% C 0.066 H 93.8°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#C8BA8A
RGBrgb(200, 186, 138)
HSLhsl(46, 36%, 66%)
HSVhsv(46, 31%, 78%)
CMYKcmyk(0%, 7%, 31%, 21.6%)
CIE-LABlab(75.60, -2.34, 26.18)
CIE-LCHlch(75.60, 26.29, 95.12°)
OKLaboklab(78.88% -0.0043 0.0657)
OKLCHoklch(78.88% 0.066 93.8)
XYZxyz(45.9663, 49.2334, 31.1214)
Luminance0.4923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA8A #8A98C8
analogous
#C89B8A #C8BA8A #B7C88A
triadic
#C8BA8A #8AC8BA #BA8AC8
tetradic
#C8BA8A #8AC89B #8A98C8 #C88AB7
square
#C8BA8A #8AC89B #8A98C8 #C88AB7
split-complementary
#C8BA8A #8AB7C8 #9B8AC8
monochromatic
#938145 #B4A160 #C8BA8A #DCD3B4 #EFEBDD

Accessibility & contrast

On white

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

On black

10.85
#C8BA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA8A
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA8A#FFFFFF#000000##000000
##C8BA8A1.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B887
Deuteranopia (green-blind)
#C8BC8C
Tritanopia (blue-blind)
#D2B3AD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c8ba8a;
/* rgb */ color: rgb(200, 186, 138);
/* oklch */ color: oklch(78.9% 0.066 93.8);
Tailwind
colors: {
  custom: {
    50: '#d9ceac',
    500: '#c8ba8a',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba8a;
$custom-light: #d9ceac;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba8a",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 138
  },
  "hsl": {
    "h": 46.452,
    "s": 36.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.78884,
    "c": 0.06586,
    "h": 93.8
  },
  "luminance": 0.49232
}

Semantic roles & 50–950 ramp

primary
#C8BA8A
secondary
#CDD1E1
accent
#52AF37
background
#FDFCFA
surface
#FAF9F4
border
#D3D2CE
text
#151310
muted
#83827F

Preview Lab

Preview with #C8BA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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