#C8B85B#C8B85B

#C8B85B is a light, moderate yellow. Relative luminance 0.473; OKLCH L 77.7% C 0.116 H 99.7°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#C8B85B
RGBrgb(200, 184, 91)
HSLhsl(51, 50%, 57%)
HSVhsv(51, 55%, 78%)
CMYKcmyk(0%, 8%, 54.5%, 21.6%)
CIE-LABlab(74.39, -6.23, 48.64)
CIE-LCHlch(74.39, 49.04, 97.30°)
OKLaboklab(77.71% -0.0195 0.114)
OKLCHoklch(77.71% 0.116 99.7)
XYZxyz(42.8497, 47.3173, 16.7715)
Luminance0.4732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B85B #5B6BC8
analogous
#C8825B #C8B85B #A1C85B
triadic
#C8B85B #5BC8B8 #B85BC8
tetradic
#C8B85B #5BC882 #5B6BC8 #C85BA1
square
#C8B85B #5BC882 #5B6BC8 #C85BA1
split-complementary
#C8B85B #5BA1C8 #825BC8
monochromatic
#7E722A #AC9B3A #C8B85B #D7CC89 #E7E0B7

Accessibility & contrast

On white

2.01
#C8B85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#C8B85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B85B
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B85B#FFFFFF#000000##000000
##C8B85B1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B352
Deuteranopia (green-blind)
#CCBA5F
Tritanopia (blue-blind)
#D6ADA3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8b85b;
/* rgb */ color: rgb(200, 184, 91);
/* oklch */ color: oklch(77.7% 0.116 99.7);
Tailwind
colors: {
  custom: {
    50: '#dbcd8c',
    500: '#c8b85b',
    950: '#000000',
  },
}
SCSS
$custom: #c8b85b;
$custom-light: #dbcd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b85b",
  "rgb": {
    "r": 200,
    "g": 184,
    "b": 91
  },
  "hsl": {
    "h": 51.193,
    "s": 49.772,
    "l": 57.059
  },
  "oklch": {
    "l": 0.77711,
    "c": 0.11569,
    "h": 99.7
  },
  "luminance": 0.47316
}

Semantic roles & 50–950 ramp

primary
#C8B85B
secondary
#A9B0D6
accent
#63D94F
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8B85B

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

Preview Lab → · Contrast checker → · Palette generator →

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