#B8A76B#B8A76B

#B8A76B is a light, moderate yellow. Relative luminance 0.389; OKLCH L 72.9% C 0.081 H 94.1°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#B8A76B
RGBrgb(184, 167, 107)
HSLhsl(47, 35%, 57%)
HSVhsv(47, 42%, 72%)
CMYKcmyk(0%, 9.2%, 41.8%, 27.8%)
CIE-LABlab(68.67, -2.40, 33.24)
CIE-LCHlch(68.67, 33.33, 94.13°)
OKLaboklab(72.91% -0.0059 0.0813)
OKLCHoklch(72.91% 0.081 94.1)
XYZxyz(36.2406, 38.8906, 19.5047)
Luminance0.3889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A76B #6B7CB8
analogous
#B8816B #B8A76B #A3B86B
triadic
#B8A76B #6BB8A7 #A76BB8
tetradic
#B8A76B #6BB881 #6B7CB8 #B86BA3
square
#B8A76B #6BB881 #6B7CB8 #B86BA3
split-complementary
#B8A76B #6BA3B8 #816BB8
monochromatic
#726537 #9B894B #B8A76B #CCC094 #E0D8BE

Accessibility & contrast

On white

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

On black

8.78
#B8A76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A76B
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A76B#FFFFFF#000000##000000
##B8A76B1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A466
Deuteranopia (green-blind)
#B7AA6D
Tritanopia (blue-blind)
#C39E98
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a76b;
/* rgb */ color: rgb(184, 167, 107);
/* oklch */ color: oklch(72.9% 0.081 94.1);
Tailwind
colors: {
  custom: {
    50: '#cfc196',
    500: '#b8a76b',
    950: '#000000',
  },
}
SCSS
$custom: #b8a76b;
$custom-light: #cfc196;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a76b",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 107
  },
  "hsl": {
    "h": 46.753,
    "s": 35.16,
    "l": 57.059
  },
  "oklch": {
    "l": 0.72914,
    "c": 0.08147,
    "h": 94.1
  },
  "luminance": 0.38889
}

Semantic roles & 50–950 ramp

primary
#B8A76B
secondary
#B0B7CF
accent
#75CB5D
background
#FCFBF9
surface
#F9F7F2
border
#D2D0CC
text
#14120D
muted
#82817E

Preview Lab

Preview with #B8A76B

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

Preview Lab → · Contrast checker → · Palette generator →

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