#C8B85D#C8B85D

#C8B85D is a light, moderate yellow. Relative luminance 0.474; OKLCH L 77.7% C 0.114 H 99.5°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#C8B85D
RGBrgb(200, 184, 93)
HSLhsl(51, 49%, 57%)
HSVhsv(51, 54%, 78%)
CMYKcmyk(0%, 8%, 53.5%, 21.6%)
CIE-LABlab(74.41, -6.07, 47.71)
CIE-LCHlch(74.41, 48.09, 97.25°)
OKLaboklab(77.74% -0.0188 0.1122)
OKLCHoklch(77.74% 0.114 99.5)
XYZxyz(42.9371, 47.3523, 17.2320)
Luminance0.4735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B85D #5D6DC8
analogous
#C8825D #C8B85D #A3C85D
triadic
#C8B85D #5DC8B8 #B85DC8
tetradic
#C8B85D #5DC882 #5D6DC8 #C85DA3
square
#C8B85D #5DC882 #5D6DC8 #C85DA3
split-complementary
#C8B85D #5DA3C8 #825DC8
monochromatic
#7F732B #AD9C3B #C8B85D #D8CC8B #E7E0B8

Accessibility & contrast

On white

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

On black

10.47
#C8B85D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B85D
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B85D#FFFFFF#000000##000000
##C8B85D1.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B455
Deuteranopia (green-blind)
#CBBA61
Tritanopia (blue-blind)
#D5ADA3
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8b85d;
/* rgb */ color: rgb(200, 184, 93);
/* oklch */ color: oklch(77.7% 0.114 99.5);
Tailwind
colors: {
  custom: {
    50: '#dbcd8d',
    500: '#c8b85d',
    950: '#000000',
  },
}
SCSS
$custom: #c8b85d;
$custom-light: #dbcd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b85d",
  "rgb": {
    "r": 200,
    "g": 184,
    "b": 93
  },
  "hsl": {
    "h": 51.028,
    "s": 49.309,
    "l": 57.451
  },
  "oklch": {
    "l": 0.77736,
    "c": 0.11377,
    "h": 99.5
  },
  "luminance": 0.47351
}

Semantic roles & 50–950 ramp

primary
#C8B85D
secondary
#ABB1D6
accent
#64D94F
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8B85D

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

Preview Lab → · Contrast checker → · Palette generator →

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