#B8AA32#B8AA32

#B8AA32 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.9% C 0.136 H 102.5°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#B8AA32
RGBrgb(184, 170, 50)
HSLhsl(54, 57%, 46%)
HSVhsv(54, 73%, 72%)
CMYKcmyk(0%, 7.6%, 72.8%, 27.8%)
CIE-LABlab(68.88, -8.42, 60.03)
CIE-LCHlch(68.88, 60.62, 97.98°)
OKLaboklab(72.88% -0.0294 0.1327)
OKLCHoklch(72.88% 0.136 102.5)
XYZxyz(34.7192, 39.1716, 8.7491)
Luminance0.3917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AA32 #3240B8
analogous
#B86732 #B8AA32 #83B832
triadic
#B8AA32 #32B8AA #AA32B8
tetradic
#B8AA32 #32B867 #3240B8 #B83283
square
#B8AA32 #32B867 #3240B8 #B83283
split-complementary
#B8AA32 #3283B8 #6732B8
monochromatic
#585118 #887E25 #B8AA32 #D1C456 #DED586

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8AA32#FFFFFF#000000##000000
##B8AA321.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)
#BAA51D
Deuteranopia (green-blind)
#BEAB3A
Tritanopia (blue-blind)
#C69E93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8aa32;
/* rgb */ color: rgb(184, 170, 50);
/* oklch */ color: oklch(72.9% 0.136 102.5);
Tailwind
colors: {
  custom: {
    50: '#d1c272',
    500: '#b8aa32',
    950: '#000000',
  },
}
SCSS
$custom: #b8aa32;
$custom-light: #d1c272;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aa32",
  "rgb": {
    "r": 184,
    "g": 170,
    "b": 50
  },
  "hsl": {
    "h": 53.731,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72881,
    "c": 0.13593,
    "h": 102.5
  },
  "luminance": 0.3917
}

Semantic roles & 50–950 ramp

primary
#B8AA32
secondary
#7E86C8
accent
#57E147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B8AA32

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

Preview Lab → · Contrast checker → · Palette generator →

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