#C8B95C#C8B95C

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

Color values

HEX#C8B95C
RGBrgb(200, 185, 92)
HSLhsl(52, 50%, 57%)
HSVhsv(52, 54%, 78%)
CMYKcmyk(0%, 7.5%, 54%, 21.6%)
CIE-LABlab(74.67, -6.67, 48.48)
CIE-LCHlch(74.67, 48.94, 97.83°)
OKLaboklab(77.93% -0.0207 0.1138)
OKLCHoklch(77.93% 0.116 100.3)
XYZxyz(43.1016, 47.7516, 17.0697)
Luminance0.4775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B95C #5C6BC8
analogous
#C8835C #C8B95C #A1C85C
triadic
#C8B95C #5CC8B9 #B95CC8
tetradic
#C8B95C #5CC883 #5C6BC8 #C85CA1
square
#C8B95C #5CC883 #5C6BC8 #C85CA1
split-complementary
#C8B95C #5CA1C8 #835CC8
monochromatic
#7F732B #AD9D3A #C8B95C #D7CD8A #E7E0B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8B95C#FFFFFF#000000##000000
##C8B95C1.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)
#C8B453
Deuteranopia (green-blind)
#CCBA60
Tritanopia (blue-blind)
#D5AEA4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8b95c;
/* rgb */ color: rgb(200, 185, 92);
/* oklch */ color: oklch(77.9% 0.116 100.3);
Tailwind
colors: {
  custom: {
    50: '#dbcd8d',
    500: '#c8b95c',
    950: '#000000',
  },
}
SCSS
$custom: #c8b95c;
$custom-light: #dbcd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b95c",
  "rgb": {
    "r": 200,
    "g": 185,
    "b": 92
  },
  "hsl": {
    "h": 51.667,
    "s": 49.541,
    "l": 57.255
  },
  "oklch": {
    "l": 0.77933,
    "c": 0.11566,
    "h": 100.3
  },
  "luminance": 0.4775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8B95C

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

Preview Lab → · Contrast checker → · Palette generator →

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