#C8BA6F#C8BA6F

#C8BA6F is a light, moderate yellow. Relative luminance 0.485; OKLCH L 78.4% C 0.097 H 99.0°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#C8BA6F
RGBrgb(200, 186, 111)
HSLhsl(51, 45%, 61%)
HSVhsv(51, 45%, 78%)
CMYKcmyk(0%, 7%, 44.5%, 21.6%)
CIE-LABlab(75.17, -5.45, 39.69)
CIE-LCHlch(75.17, 40.07, 97.82°)
OKLaboklab(78.41% -0.0151 0.0959)
OKLCHoklch(78.41% 0.097 99)
XYZxyz(44.2487, 48.5463, 22.0754)
Luminance0.4854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA6F #6F7DC8
analogous
#C88D6F #C8BA6F #A9C86F
triadic
#C8BA6F #6FC8BA #BA6FC8
tetradic
#C8BA6F #6FC88D #6F7DC8 #C86FA9
square
#C8BA6F #6FC88D #6F7DC8 #C86FA9
split-complementary
#C8BA6F #6FA9C8 #8D6FC8
monochromatic
#887B34 #B5A345 #C8BA6F #D9CF9B #EAE4C8

Accessibility & contrast

On white

1.96
#C8BA6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#C8BA6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA6F
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA6F#FFFFFF#000000##000000
##C8BA6F1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B669
Deuteranopia (green-blind)
#CBBB72
Tritanopia (blue-blind)
#D4B0A8
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c8ba6f;
/* rgb */ color: rgb(200, 186, 111);
/* oklch */ color: oklch(78.4% 0.097 99.0);
Tailwind
colors: {
  custom: {
    50: '#dace99',
    500: '#c8ba6f',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba6f;
$custom-light: #dace99;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba6f",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 111
  },
  "hsl": {
    "h": 50.562,
    "s": 44.724,
    "l": 60.98
  },
  "oklch": {
    "l": 0.78406,
    "c": 0.09713,
    "h": 99
  },
  "luminance": 0.48545
}

Semantic roles & 50–950 ramp

primary
#C8BA6F
secondary
#B9BEDA
accent
#43B82E
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #C8BA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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