#B9AA32#B9AA32

#B9AA32 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 73.0% C 0.136 H 102.0°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#B9AA32
RGBrgb(185, 170, 50)
HSLhsl(53, 57%, 46%)
HSVhsv(53, 73%, 73%)
CMYKcmyk(0%, 8.1%, 73%, 27.5%)
CIE-LABlab(68.96, -7.98, 60.15)
CIE-LCHlch(68.96, 60.68, 97.56°)
OKLaboklab(72.97% -0.0282 0.1329)
OKLCHoklch(72.97% 0.136 102)
XYZxyz(34.9596, 39.2956, 8.7603)
Luminance0.3929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AA32 #3241B9
analogous
#B96632 #B9AA32 #84B932
triadic
#B9AA32 #32B9AA #AA32B9
tetradic
#B9AA32 #32B966 #3241B9 #B93284
square
#B9AA32 #32B966 #3241B9 #B93284
split-complementary
#B9AA32 #3284B9 #6632B9
monochromatic
#595118 #897E25 #B9AA32 #D2C457 #DFD587

Accessibility & contrast

On white

2.37
#B9AA32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#B9AA32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AA32
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AA32#FFFFFF#000000##000000
##B9AA321.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51D
Deuteranopia (green-blind)
#BEAB3A
Tritanopia (blue-blind)
#C79E93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b9aa32;
/* rgb */ color: rgb(185, 170, 50);
/* oklch */ color: oklch(73.0% 0.136 102.0);
Tailwind
colors: {
  custom: {
    50: '#d2c272',
    500: '#b9aa32',
    950: '#000000',
  },
}
SCSS
$custom: #b9aa32;
$custom-light: #d2c272;
$custom-dark: #000000;
JSON
{
  "hex": "#b9aa32",
  "rgb": {
    "r": 185,
    "g": 170,
    "b": 50
  },
  "hsl": {
    "h": 53.333,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72973,
    "c": 0.13588,
    "h": 102
  },
  "luminance": 0.39294
}

Semantic roles & 50–950 ramp

primary
#B9AA32
secondary
#7F87C8
accent
#58E147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9AA32

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

Preview Lab → · Contrast checker → · Palette generator →

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