#B8A951#B8A951

#B8A951 is a light, moderate yellow. Relative luminance 0.392; OKLCH L 73.0% C 0.111 H 99.8°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#B8A951
RGBrgb(184, 169, 81)
HSLhsl(51, 42%, 52%)
HSVhsv(51, 56%, 72%)
CMYKcmyk(0%, 8.2%, 56%, 27.8%)
CIE-LABlab(68.87, -5.93, 46.66)
CIE-LCHlch(68.87, 47.03, 97.24°)
OKLaboklab(72.96% -0.0188 0.109)
OKLCHoklch(72.96% 0.111 99.8)
XYZxyz(35.4416, 39.1618, 13.4751)
Luminance0.3916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A951 #5160B8
analogous
#B87651 #B8A951 #94B851
triadic
#B8A951 #51B8A9 #A951B8
tetradic
#B8A951 #51B876 #5160B8 #B85194
square
#B8A951 #51B876 #5160B8 #B85194
split-complementary
#B8A951 #5194B8 #7651B8
monochromatic
#655D29 #91843B #B8A951 #CABE7C #DBD4A8

Accessibility & contrast

On white

2.38
#B8A951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#B8A951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A951
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A951#FFFFFF#000000##000000
##B8A9511.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A548
Deuteranopia (green-blind)
#BBAB55
Tritanopia (blue-blind)
#C59E95
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8a951;
/* rgb */ color: rgb(184, 169, 81);
/* oklch */ color: oklch(73.0% 0.111 99.8);
Tailwind
colors: {
  custom: {
    50: '#d0c284',
    500: '#b8a951',
    950: '#000000',
  },
}
SCSS
$custom: #b8a951;
$custom-light: #d0c284;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a951",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 81
  },
  "hsl": {
    "h": 51.262,
    "s": 42.041,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7296,
    "c": 0.11059,
    "h": 99.8
  },
  "luminance": 0.3916
}

Semantic roles & 50–950 ramp

primary
#B8A951
secondary
#9CA2C9
accent
#68D256
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A951

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

Preview Lab → · Contrast checker → · Palette generator →

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