#B9A32F#B9A32F

#B9A32F is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.5% C 0.132 H 98.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B9A32F
RGBrgb(185, 163, 47)
HSLhsl(50, 59%, 45%)
HSVhsv(50, 75%, 73%)
CMYKcmyk(0%, 11.9%, 74.6%, 27.5%)
CIE-LABlab(67.06, -4.42, 59.43)
CIE-LCHlch(67.06, 59.59, 94.26°)
OKLaboklab(71.46% -0.0184 0.1308)
OKLCHoklch(71.46% 0.132 98)
XYZxyz(33.6195, 36.7156, 8.0048)
Luminance0.3671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A32F #2F45B9
analogous
#B95E2F #B9A32F #8AB92F
triadic
#B9A32F #2FB9A3 #A32FB9
tetradic
#B9A32F #2FB95E #2F45B9 #B92F8A
square
#B9A32F #2FB95E #2F45B9 #B92F8A
split-complementary
#B9A32F #2F8AB9 #5E2FB9
monochromatic
#574D16 #887823 #B9A32F #D3BF52 #DFD183

Accessibility & contrast

On white

2.52
#B9A32F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#B9A32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A32F
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A32F#FFFFFF#000000##000000
##B9A32F1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1A
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#C8968C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b9a32f;
/* rgb */ color: rgb(185, 163, 47);
/* oklch */ color: oklch(71.5% 0.132 98.0);
Tailwind
colors: {
  custom: {
    50: '#d2bd70',
    500: '#b9a32f',
    950: '#000000',
  },
}
SCSS
$custom: #b9a32f;
$custom-light: #d2bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a32f",
  "rgb": {
    "r": 185,
    "g": 163,
    "b": 47
  },
  "hsl": {
    "h": 50.435,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71459,
    "c": 0.13211,
    "h": 98
  },
  "luminance": 0.36714
}

Semantic roles & 50–950 ramp

primary
#B9A32F
secondary
#7B87C9
accent
#5EE345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9A32F

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

Preview Lab → · Contrast checker → · Palette generator →

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