#B8A95B#B8A95B

#B8A95B is a light, moderate yellow. Relative luminance 0.393; OKLCH L 73.1% C 0.101 H 98.7°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#B8A95B
RGBrgb(184, 169, 91)
HSLhsl(50, 40%, 54%)
HSVhsv(50, 51%, 72%)
CMYKcmyk(0%, 8.2%, 50.5%, 27.8%)
CIE-LABlab(68.98, -5.07, 41.88)
CIE-LCHlch(68.98, 42.18, 96.90°)
OKLaboklab(73.09% -0.0152 0.0996)
OKLCHoklch(73.09% 0.101 98.7)
XYZxyz(35.8446, 39.3229, 15.5975)
Luminance0.3932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A95B #5B6AB8
analogous
#B87B5B #B8A95B #99B85B
triadic
#B8A95B #5BB8A9 #A95BB8
tetradic
#B8A95B #5BB87B #5B6AB8 #B85B99
square
#B8A95B #5BB87B #5B6AB8 #B85B99
split-complementary
#B8A95B #5B99B8 #7B5BB8
monochromatic
#6A612E #958841 #B8A95B #CABF86 #DDD6B0

Accessibility & contrast

On white

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

On black

8.86
#B8A95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A95B
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A95B#FFFFFF#000000##000000
##B8A95B1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A554
Deuteranopia (green-blind)
#BAAB5E
Tritanopia (blue-blind)
#C49F97
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8a95b;
/* rgb */ color: rgb(184, 169, 91);
/* oklch */ color: oklch(73.1% 0.101 98.7);
Tailwind
colors: {
  custom: {
    50: '#cfc28b',
    500: '#b8a95b',
    950: '#000000',
  },
}
SCSS
$custom: #b8a95b;
$custom-light: #cfc28b;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a95b",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 91
  },
  "hsl": {
    "h": 50.323,
    "s": 39.574,
    "l": 53.922
  },
  "oklch": {
    "l": 0.73089,
    "c": 0.1007,
    "h": 98.7
  },
  "luminance": 0.39322
}

Semantic roles & 50–950 ramp

primary
#B8A95B
secondary
#A4AACB
accent
#6CCF58
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B8A95B

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

Preview Lab → · Contrast checker → · Palette generator →

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