#B8A86F#B8A86F

#B8A86F is a light, moderate yellow. Relative luminance 0.393; OKLCH L 73.2% C 0.078 H 94.3°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#B8A86F
RGBrgb(184, 168, 111)
HSLhsl(47, 34%, 58%)
HSVhsv(47, 40%, 72%)
CMYKcmyk(0%, 8.7%, 39.7%, 27.8%)
CIE-LABlab(69.00, -2.49, 31.55)
CIE-LCHlch(69.00, 31.65, 94.50°)
OKLaboklab(73.19% -0.0058 0.0776)
OKLCHoklch(73.19% 0.078 94.3)
XYZxyz(36.6398, 39.3445, 20.7001)
Luminance0.3934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A86F #6F7FB8
analogous
#B8836F #B8A86F #A3B86F
triadic
#B8A86F #6FB8A8 #A86FB8
tetradic
#B8A86F #6FB883 #6F7FB8 #B86FA3
square
#B8A86F #6FB883 #6F7FB8 #B86FA3
split-complementary
#B8A86F #6FA3B8 #836FB8
monochromatic
#746739 #9D8B4D #B8A86F #CCC198 #E0DAC1

Accessibility & contrast

On white

2.37
#B8A86F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#B8A86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A86F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A86F#FFFFFF#000000##000000
##B8A86F1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A56B
Deuteranopia (green-blind)
#B8AB71
Tritanopia (blue-blind)
#C3A09A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8a86f;
/* rgb */ color: rgb(184, 168, 111);
/* oklch */ color: oklch(73.2% 0.078 94.3);
Tailwind
colors: {
  custom: {
    50: '#cec199',
    500: '#b8a86f',
    950: '#000000',
  },
}
SCSS
$custom: #b8a86f;
$custom-light: #cec199;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a86f",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 111
  },
  "hsl": {
    "h": 46.849,
    "s": 33.953,
    "l": 57.843
  },
  "oklch": {
    "l": 0.73193,
    "c": 0.07778,
    "h": 94.3
  },
  "luminance": 0.39343
}

Semantic roles & 50–950 ramp

primary
#B8A86F
secondary
#B3B9D0
accent
#75CA5E
background
#FCFBF9
surface
#F9F7F2
border
#D2D0CC
text
#14120E
muted
#82817E

Preview Lab

Preview with #B8A86F

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

Preview Lab → · Contrast checker → · Palette generator →

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