#B8A76F#B8A76F

#B8A76F is a light, moderate yellow. Relative luminance 0.390; OKLCH L 73.0% C 0.077 H 93.2°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#B8A76F
RGBrgb(184, 167, 111)
HSLhsl(46, 34%, 58%)
HSVhsv(46, 40%, 72%)
CMYKcmyk(0%, 9.2%, 39.7%, 27.8%)
CIE-LABlab(68.73, -1.95, 31.21)
CIE-LCHlch(68.73, 31.27, 93.58°)
OKLaboklab(72.98% -0.0043 0.0768)
OKLCHoklch(72.98% 0.077 93.2)
XYZxyz(36.4559, 38.9767, 20.6388)
Luminance0.3897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A76F #6F80B8
analogous
#B8826F #B8A76F #A4B86F
triadic
#B8A76F #6FB8A7 #A76FB8
tetradic
#B8A76F #6FB882 #6F80B8 #B86FA4
square
#B8A76F #6FB882 #6F80B8 #B86FA4
split-complementary
#B8A76F #6FA4B8 #826FB8
monochromatic
#746639 #9D8A4D #B8A76F #CCC098 #E0D9C1

Accessibility & contrast

On white

2.39
#B8A76F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#B8A76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A76F
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A76F#FFFFFF#000000##000000
##B8A76F1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A56B
Deuteranopia (green-blind)
#B7AA71
Tritanopia (blue-blind)
#C39F99
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8a76f;
/* rgb */ color: rgb(184, 167, 111);
/* oklch */ color: oklch(73.0% 0.077 93.2);
Tailwind
colors: {
  custom: {
    50: '#cec199',
    500: '#b8a76f',
    950: '#000000',
  },
}
SCSS
$custom: #b8a76f;
$custom-light: #cec199;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a76f",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 111
  },
  "hsl": {
    "h": 46.027,
    "s": 33.953,
    "l": 57.843
  },
  "oklch": {
    "l": 0.72984,
    "c": 0.07688,
    "h": 93.2
  },
  "luminance": 0.38975
}

Semantic roles & 50–950 ramp

primary
#B8A76F
secondary
#B3BAD0
accent
#77CA5E
background
#FCFBF9
surface
#F9F7F2
border
#D2D0CC
text
#14120E
muted
#82817E

Preview Lab

Preview with #B8A76F

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

Preview Lab → · Contrast checker → · Palette generator →

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