#B8A952#B8A952

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

Color values

HEX#B8A952
RGBrgb(184, 169, 82)
HSLhsl(51, 42%, 52%)
HSVhsv(51, 55%, 72%)
CMYKcmyk(0%, 8.2%, 55.4%, 27.8%)
CIE-LABlab(68.88, -5.85, 46.19)
CIE-LCHlch(68.88, 46.56, 97.22°)
OKLaboklab(72.97% -0.0184 0.1081)
OKLCHoklch(72.97% 0.11 99.7)
XYZxyz(35.4793, 39.1769, 13.6740)
Luminance0.3917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A952 #5261B8
analogous
#B87652 #B8A952 #94B852
triadic
#B8A952 #52B8A9 #A952B8
tetradic
#B8A952 #52B876 #5261B8 #B85294
square
#B8A952 #52B876 #5261B8 #B85294
split-complementary
#B8A952 #5294B8 #7652B8
monochromatic
#665D2A #91853C #B8A952 #CABF7D #DCD4A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A952#FFFFFF#000000##000000
##B8A9521.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)
#B7A54A
Deuteranopia (green-blind)
#BBAB56
Tritanopia (blue-blind)
#C59E95
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8a952;
/* rgb */ color: rgb(184, 169, 82);
/* oklch */ color: oklch(73.0% 0.110 99.7);
Tailwind
colors: {
  custom: {
    50: '#d0c285',
    500: '#b8a952',
    950: '#000000',
  },
}
SCSS
$custom: #b8a952;
$custom-light: #d0c285;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a952",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 82
  },
  "hsl": {
    "h": 51.176,
    "s": 41.803,
    "l": 52.157
  },
  "oklch": {
    "l": 0.72972,
    "c": 0.10963,
    "h": 99.7
  },
  "luminance": 0.39175
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8A952

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

Preview Lab → · Contrast checker → · Palette generator →

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