#B8A95F#B8A95F

#B8A95F is a light, moderate yellow. Relative luminance 0.394; OKLCH L 73.1% C 0.097 H 98.1°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#B8A95F
RGBrgb(184, 169, 95)
HSLhsl(50, 39%, 55%)
HSVhsv(50, 48%, 72%)
CMYKcmyk(0%, 8.2%, 48.4%, 27.8%)
CIE-LABlab(69.04, -4.70, 39.92)
CIE-LCHlch(69.04, 40.19, 96.71°)
OKLaboklab(73.15% -0.0137 0.0955)
OKLCHoklch(73.15% 0.097 98.1)
XYZxyz(36.0217, 39.3938, 16.5306)
Luminance0.3939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A95F #5F6EB8
analogous
#B87D5F #B8A95F #9AB85F
triadic
#B8A95F #5FB8A9 #A95FB8
tetradic
#B8A95F #5FB87D #5F6EB8 #B85F9A
square
#B8A95F #5FB87D #5F6EB8 #B85F9A
split-complementary
#B8A95F #5F9AB8 #7D5FB8
monochromatic
#6C6230 #978943 #B8A95F #CBC089 #DED7B4

Accessibility & contrast

On white

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

On black

8.88
#B8A95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A95F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A95F#FFFFFF#000000##000000
##B8A95F1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a95f;
/* rgb */ color: rgb(184, 169, 95);
/* oklch */ color: oklch(73.1% 0.097 98.1);
Tailwind
colors: {
  custom: {
    50: '#cfc28e',
    500: '#b8a95f',
    950: '#000000',
  },
}
SCSS
$custom: #b8a95f;
$custom-light: #cfc28e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a95f",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 95
  },
  "hsl": {
    "h": 49.888,
    "s": 38.528,
    "l": 54.706
  },
  "oklch": {
    "l": 0.73146,
    "c": 0.09651,
    "h": 98.1
  },
  "luminance": 0.39393
}

Semantic roles & 50–950 ramp

primary
#B8A95F
secondary
#A7ADCC
accent
#6DCE59
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B8A95F

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

Preview Lab → · Contrast checker → · Palette generator →

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