#B8A95A#B8A95A

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

Color values

HEX#B8A95A
RGBrgb(184, 169, 90)
HSLhsl(50, 40%, 54%)
HSVhsv(50, 51%, 72%)
CMYKcmyk(0%, 8.2%, 51.1%, 27.8%)
CIE-LABlab(68.97, -5.16, 42.36)
CIE-LCHlch(68.97, 42.68, 96.95°)
OKLaboklab(73.08% -0.0155 0.1005)
OKLCHoklch(73.08% 0.102 98.8)
XYZxyz(35.8017, 39.3058, 15.3718)
Luminance0.3930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A95A #5A69B8
analogous
#B87A5A #B8A95A #98B85A
triadic
#B8A95A #5AB8A9 #A95AB8
tetradic
#B8A95A #5AB87A #5A69B8 #B85A98
square
#B8A95A #5AB87A #5A69B8 #B85A98
split-complementary
#B8A95A #5A98B8 #7A5AB8
monochromatic
#6A602E #958740 #B8A95A #CABF85 #DDD6B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A95A#FFFFFF#000000##000000
##B8A95A1.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)
#B6A553
Deuteranopia (green-blind)
#BBAB5D
Tritanopia (blue-blind)
#C49F97
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8a95a;
/* rgb */ color: rgb(184, 169, 90);
/* oklch */ color: oklch(73.1% 0.102 98.8);
Tailwind
colors: {
  custom: {
    50: '#cfc28a',
    500: '#b8a95a',
    950: '#000000',
  },
}
SCSS
$custom: #b8a95a;
$custom-light: #cfc28a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a95a",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 90
  },
  "hsl": {
    "h": 50.426,
    "s": 39.831,
    "l": 53.725
  },
  "oklch": {
    "l": 0.73075,
    "c": 0.10173,
    "h": 98.8
  },
  "luminance": 0.39304
}

Semantic roles & 50–950 ramp

primary
#B8A95A
secondary
#A3A9CB
accent
#6BD058
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #B8A95A

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

Preview Lab → · Contrast checker → · Palette generator →

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