#C8BA73#C8BA73

#C8BA73 is a light, moderate yellow. Relative luminance 0.486; OKLCH L 78.5% C 0.093 H 98.4°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#C8BA73
RGBrgb(200, 186, 115)
HSLhsl(50, 44%, 62%)
HSVhsv(50, 43%, 78%)
CMYKcmyk(0%, 7%, 42.5%, 21.6%)
CIE-LABlab(75.22, -5.04, 37.72)
CIE-LCHlch(75.22, 38.06, 97.60°)
OKLaboklab(78.47% -0.0136 0.0917)
OKLCHoklch(78.47% 0.093 98.4)
XYZxyz(44.4738, 48.6364, 23.2614)
Luminance0.4864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA73 #7381C8
analogous
#C89073 #C8BA73 #ACC873
triadic
#C8BA73 #73C8BA #BA73C8
tetradic
#C8BA73 #73C890 #7381C8 #C873AC
square
#C8BA73 #73C890 #7381C8 #C873AC
split-complementary
#C8BA73 #73ACC8 #9073C8
monochromatic
#8A7C36 #B6A448 #C8BA73 #D9D09F #EBE5CB

Accessibility & contrast

On white

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

On black

10.73
#C8BA73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA73
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA73#FFFFFF#000000##000000
##C8BA731.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B66E
Deuteranopia (green-blind)
#CBBC76
Tritanopia (blue-blind)
#D4B1A9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #c8ba73;
/* rgb */ color: rgb(200, 186, 115);
/* oklch */ color: oklch(78.5% 0.093 98.4);
Tailwind
colors: {
  custom: {
    50: '#dace9c',
    500: '#c8ba73',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba73;
$custom-light: #dace9c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba73",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 115
  },
  "hsl": {
    "h": 50.118,
    "s": 43.59,
    "l": 61.765
  },
  "oklch": {
    "l": 0.78469,
    "c": 0.09272,
    "h": 98.4
  },
  "luminance": 0.48635
}

Semantic roles & 50–950 ramp

primary
#C8BA73
secondary
#BCC1DB
accent
#45B72F
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #C8BA73

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

Preview Lab → · Contrast checker → · Palette generator →

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