#B8A95C#B8A95C

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

Color values

HEX#B8A95C
RGBrgb(184, 169, 92)
HSLhsl(50, 39%, 54%)
HSVhsv(50, 50%, 72%)
CMYKcmyk(0%, 8.2%, 50%, 27.8%)
CIE-LABlab(69.00, -4.98, 41.39)
CIE-LCHlch(69.00, 41.69, 96.86°)
OKLaboklab(73.1% -0.0148 0.0986)
OKLCHoklch(73.1% 0.1 98.5)
XYZxyz(35.8880, 39.3403, 15.8262)
Luminance0.3934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A95C #5C6BB8
analogous
#B87B5C #B8A95C #99B85C
triadic
#B8A95C #5CB8A9 #A95CB8
tetradic
#B8A95C #5CB87B #5C6BB8 #B85C99
square
#B8A95C #5CB87B #5C6BB8 #B85C99
split-complementary
#B8A95C #5C99B8 #7B5CB8
monochromatic
#6B612F #968841 #B8A95C #CBBF87 #DDD6B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A95C#FFFFFF#000000##000000
##B8A95C1.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)
#B6A555
Deuteranopia (green-blind)
#BAAB5F
Tritanopia (blue-blind)
#C49F97
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8a95c;
/* rgb */ color: rgb(184, 169, 92);
/* oklch */ color: oklch(73.1% 0.100 98.5);
Tailwind
colors: {
  custom: {
    50: '#cfc28c',
    500: '#b8a95c',
    950: '#000000',
  },
}
SCSS
$custom: #b8a95c;
$custom-light: #cfc28c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a95c",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 92
  },
  "hsl": {
    "h": 50.217,
    "s": 39.316,
    "l": 54.118
  },
  "oklch": {
    "l": 0.73103,
    "c": 0.09967,
    "h": 98.5
  },
  "luminance": 0.39339
}

Semantic roles & 50–950 ramp

primary
#B8A95C
secondary
#A4ABCB
accent
#6CCF59
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B8A95C

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

Preview Lab → · Contrast checker → · Palette generator →

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