#B8A95D#B8A95D

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

Color values

HEX#B8A95D
RGBrgb(184, 169, 93)
HSLhsl(50, 39%, 54%)
HSVhsv(50, 49%, 72%)
CMYKcmyk(0%, 8.2%, 49.5%, 27.8%)
CIE-LABlab(69.01, -4.89, 40.90)
CIE-LCHlch(69.01, 41.19, 96.81°)
OKLaboklab(73.12% -0.0144 0.0976)
OKLCHoklch(73.12% 0.099 98.4)
XYZxyz(35.9320, 39.3579, 16.0579)
Luminance0.3936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A95D #5D6CB8
analogous
#B87C5D #B8A95D #9AB85D
triadic
#B8A95D #5DB8A9 #A95DB8
tetradic
#B8A95D #5DB87C #5D6CB8 #B85D9A
square
#B8A95D #5DB87C #5D6CB8 #B85D9A
split-complementary
#B8A95D #5D9AB8 #7C5DB8
monochromatic
#6B622F #968842 #B8A95D #CBC088 #DDD6B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A95D#FFFFFF#000000##000000
##B8A95D1.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)
#B6A557
Deuteranopia (green-blind)
#BAAB60
Tritanopia (blue-blind)
#C49F97
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8a95d;
/* rgb */ color: rgb(184, 169, 93);
/* oklch */ color: oklch(73.1% 0.099 98.4);
Tailwind
colors: {
  custom: {
    50: '#cfc28c',
    500: '#b8a95d',
    950: '#000000',
  },
}
SCSS
$custom: #b8a95d;
$custom-light: #cfc28c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a95d",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 93
  },
  "hsl": {
    "h": 50.11,
    "s": 39.056,
    "l": 54.314
  },
  "oklch": {
    "l": 0.73117,
    "c": 0.09862,
    "h": 98.4
  },
  "luminance": 0.39357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8A95D

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

Preview Lab → · Contrast checker → · Palette generator →

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