#B8A949#B8A949

#B8A949 is a light, moderate yellow. Relative luminance 0.390; OKLCH L 72.9% C 0.118 H 100.5°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#B8A949
RGBrgb(184, 169, 73)
HSLhsl(52, 44%, 50%)
HSVhsv(52, 60%, 72%)
CMYKcmyk(0%, 8.2%, 60.3%, 27.8%)
CIE-LABlab(68.79, -6.54, 50.33)
CIE-LCHlch(68.79, 50.75, 97.40°)
OKLaboklab(72.87% -0.0215 0.1159)
OKLCHoklch(72.87% 0.118 100.5)
XYZxyz(35.1591, 39.0488, 11.9872)
Luminance0.3905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A949 #4958B8
analogous
#B87149 #B8A949 #8FB849
triadic
#B8A949 #49B8A9 #A949B8
tetradic
#B8A949 #49B871 #4958B8 #B8498F
square
#B8A949 #49B871 #4958B8 #B8498F
split-complementary
#B8A949 #498FB8 #7149B8
monochromatic
#615926 #8D8137 #B8A949 #C9BE75 #DAD3A1

Accessibility & contrast

On white

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

On black

8.81
#B8A949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A949
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A949#FFFFFF#000000##000000
##B8A9491.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A43F
Deuteranopia (green-blind)
#BCAA4E
Tritanopia (blue-blind)
#C59E94
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8a949;
/* rgb */ color: rgb(184, 169, 73);
/* oklch */ color: oklch(72.9% 0.118 100.5);
Tailwind
colors: {
  custom: {
    50: '#d0c27f',
    500: '#b8a949',
    950: '#000000',
  },
}
SCSS
$custom: #b8a949;
$custom-light: #d0c27f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a949",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 73
  },
  "hsl": {
    "h": 51.892,
    "s": 43.874,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72868,
    "c": 0.11785,
    "h": 100.5
  },
  "luminance": 0.39047
}

Semantic roles & 50–950 ramp

primary
#B8A949
secondary
#969CC7
accent
#65D454
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A949

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

Preview Lab → · Contrast checker → · Palette generator →

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