#B8A95E#B8A95E

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

Color values

HEX#B8A95E
RGBrgb(184, 169, 94)
HSLhsl(50, 39%, 55%)
HSVhsv(50, 49%, 72%)
CMYKcmyk(0%, 8.2%, 48.9%, 27.8%)
CIE-LABlab(69.02, -4.79, 40.41)
CIE-LCHlch(69.02, 40.69, 96.76°)
OKLaboklab(73.13% -0.014 0.0966)
OKLCHoklch(73.13% 0.098 98.3)
XYZxyz(35.9766, 39.3758, 16.2927)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A95E #5E6DB8
analogous
#B87C5E #B8A95E #9AB85E
triadic
#B8A95E #5EB8A9 #A95EB8
tetradic
#B8A95E #5EB87C #5E6DB8 #B85E9A
square
#B8A95E #5EB87C #5E6DB8 #B85E9A
split-complementary
#B8A95E #5E9AB8 #7C5EB8
monochromatic
#6C6230 #968842 #B8A95E #CBC088 #DDD6B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A95E#FFFFFF#000000##000000
##B8A95E1.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)
#B6A558
Deuteranopia (green-blind)
#BAAB61
Tritanopia (blue-blind)
#C49F97
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8a95e;
/* rgb */ color: rgb(184, 169, 94);
/* oklch */ color: oklch(73.1% 0.098 98.3);
Tailwind
colors: {
  custom: {
    50: '#cfc28d',
    500: '#b8a95e',
    950: '#000000',
  },
}
SCSS
$custom: #b8a95e;
$custom-light: #cfc28d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a95e",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 94
  },
  "hsl": {
    "h": 50,
    "s": 38.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.73132,
    "c": 0.09758,
    "h": 98.3
  },
  "luminance": 0.39374
}

Semantic roles & 50–950 ramp

primary
#B8A95E
secondary
#A6ACCC
accent
#6DCF59
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B8A95E

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

Preview Lab → · Contrast checker → · Palette generator →

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