#B8A352#B8A352

#B8A352 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.7% C 0.104 H 95.1°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B8A352
RGBrgb(184, 163, 82)
HSLhsl(48, 42%, 52%)
HSVhsv(48, 55%, 72%)
CMYKcmyk(0%, 11.4%, 55.4%, 27.8%)
CIE-LABlab(67.27, -2.65, 44.32)
CIE-LCHlch(67.27, 44.39, 93.43°)
OKLaboklab(71.7% -0.0092 0.104)
OKLCHoklch(71.7% 0.104 95.1)
XYZxyz(34.3886, 36.9955, 13.3105)
Luminance0.3699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A352 #5267B8
analogous
#B87052 #B8A352 #9AB852
triadic
#B8A352 #52B8A3 #A352B8
tetradic
#B8A352 #52B870 #5267B8 #B8529A
square
#B8A352 #52B870 #5267B8 #B8529A
split-complementary
#B8A352 #529AB8 #7052B8
monochromatic
#66592A #91803C #B8A352 #CABA7D #DCD1A9

Accessibility & contrast

On white

2.50
#B8A352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B8A352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A352
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A352#FFFFFF#000000##000000
##B8A3521.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A04A
Deuteranopia (green-blind)
#B7A755
Tritanopia (blue-blind)
#C59891
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a352;
/* rgb */ color: rgb(184, 163, 82);
/* oklch */ color: oklch(71.7% 0.104 95.1);
Tailwind
colors: {
  custom: {
    50: '#d0be85',
    500: '#b8a352',
    950: '#000000',
  },
}
SCSS
$custom: #b8a352;
$custom-light: #d0be85;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a352",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 82
  },
  "hsl": {
    "h": 47.647,
    "s": 41.803,
    "l": 52.157
  },
  "oklch": {
    "l": 0.71701,
    "c": 0.10443,
    "h": 95.1
  },
  "luminance": 0.36994
}

Semantic roles & 50–950 ramp

primary
#B8A352
secondary
#9DA6C9
accent
#70D256
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A352

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

Preview Lab → · Contrast checker → · Palette generator →

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