#C8B95B#C8B95B

#C8B95B is a light, moderate yellow. Relative luminance 0.477; OKLCH L 77.9% C 0.117 H 100.4°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#C8B95B
RGBrgb(200, 185, 91)
HSLhsl(52, 50%, 57%)
HSVhsv(52, 55%, 78%)
CMYKcmyk(0%, 7.5%, 54.5%, 21.6%)
CIE-LABlab(74.66, -6.75, 48.95)
CIE-LCHlch(74.66, 49.41, 97.85°)
OKLaboklab(77.92% -0.021 0.1147)
OKLCHoklch(77.92% 0.117 100.4)
XYZxyz(43.0582, 47.7342, 16.8410)
Luminance0.4773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B95B #5B6AC8
analogous
#C8835B #C8B95B #A1C85B
triadic
#C8B95B #5BC8B9 #B95BC8
tetradic
#C8B95B #5BC883 #5B6AC8 #C85BA1
square
#C8B95B #5BC883 #5B6AC8 #C85BA1
split-complementary
#C8B95B #5BA1C8 #835BC8
monochromatic
#7E732A #AC9C3A #C8B95B #D7CD89 #E7E0B7

Accessibility & contrast

On white

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

On black

10.55
#C8B95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B95B
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B95B#FFFFFF#000000##000000
##C8B95B1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B452
Deuteranopia (green-blind)
#CCBA5F
Tritanopia (blue-blind)
#D6AEA4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8b95b;
/* rgb */ color: rgb(200, 185, 91);
/* oklch */ color: oklch(77.9% 0.117 100.4);
Tailwind
colors: {
  custom: {
    50: '#dbcd8c',
    500: '#c8b95b',
    950: '#000000',
  },
}
SCSS
$custom: #c8b95b;
$custom-light: #dbcd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b95b",
  "rgb": {
    "r": 200,
    "g": 185,
    "b": 91
  },
  "hsl": {
    "h": 51.743,
    "s": 49.772,
    "l": 57.059
  },
  "oklch": {
    "l": 0.77921,
    "c": 0.11661,
    "h": 100.4
  },
  "luminance": 0.47733
}

Semantic roles & 50–950 ramp

primary
#C8B95B
secondary
#A9AFD6
accent
#62D94F
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8B95B

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

Preview Lab → · Contrast checker → · Palette generator →

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