#C8B86F#C8B86F

#C8B86F is a light, moderate yellow. Relative luminance 0.477; OKLCH L 78.0% C 0.095 H 97.3°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#C8B86F
RGBrgb(200, 184, 111)
HSLhsl(49, 45%, 61%)
HSVhsv(49, 45%, 78%)
CMYKcmyk(0%, 8%, 44.5%, 21.6%)
CIE-LABlab(74.64, -4.40, 39.03)
CIE-LCHlch(74.64, 39.28, 96.44°)
OKLaboklab(77.99% -0.0121 0.0945)
OKLCHoklch(77.99% 0.095 97.3)
XYZxyz(43.8303, 47.7096, 21.9359)
Luminance0.4771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B86F #6F7FC8
analogous
#C88B6F #C8B86F #ACC86F
triadic
#C8B86F #6FC8B8 #B86FC8
tetradic
#C8B86F #6FC88B #6F7FC8 #C86FAC
square
#C8B86F #6FC88B #6F7FC8 #C86FAC
split-complementary
#C8B86F #6FACC8 #8B6FC8
monochromatic
#887934 #B5A145 #C8B86F #D9CE9B #EAE4C8

Accessibility & contrast

On white

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

On black

10.54
#C8B86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B86F
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B86F#FFFFFF#000000##000000
##C8B86F1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B469
Deuteranopia (green-blind)
#CABA72
Tritanopia (blue-blind)
#D4AEA6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8b86f;
/* rgb */ color: rgb(200, 184, 111);
/* oklch */ color: oklch(78.0% 0.095 97.3);
Tailwind
colors: {
  custom: {
    50: '#dacd99',
    500: '#c8b86f',
    950: '#000000',
  },
}
SCSS
$custom: #c8b86f;
$custom-light: #dacd99;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b86f",
  "rgb": {
    "r": 200,
    "g": 184,
    "b": 111
  },
  "hsl": {
    "h": 49.213,
    "s": 44.724,
    "l": 60.98
  },
  "oklch": {
    "l": 0.77989,
    "c": 0.09523,
    "h": 97.3
  },
  "luminance": 0.47708
}

Semantic roles & 50–950 ramp

primary
#C8B86F
secondary
#B9BFDA
accent
#46B82E
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #C8B86F

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

Preview Lab → · Contrast checker → · Palette generator →

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