#B9AC32#B9AC32

#B9AC32 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.4% C 0.138 H 103.1°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#B9AC32
RGBrgb(185, 172, 50)
HSLhsl(54, 57%, 46%)
HSVhsv(54, 73%, 73%)
CMYKcmyk(0%, 7%, 73%, 27.5%)
CIE-LABlab(69.51, -9.03, 60.67)
CIE-LCHlch(69.51, 61.34, 98.47°)
OKLaboklab(73.4% -0.0312 0.134)
OKLCHoklch(73.4% 0.138 103.1)
XYZxyz(35.3374, 40.0511, 8.8863)
Luminance0.4005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AC32 #323FB9
analogous
#B96832 #B9AC32 #82B932
triadic
#B9AC32 #32B9AC #AC32B9
tetradic
#B9AC32 #32B968 #323FB9 #B93282
square
#B9AC32 #32B968 #323FB9 #B93282
split-complementary
#B9AC32 #3282B9 #6832B9
monochromatic
#595218 #897F25 #B9AC32 #D2C657 #DFD687

Accessibility & contrast

On white

2.33
#B9AC32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#B9AC32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AC32
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AC32#FFFFFF#000000##000000
##B9AC321.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA61C
Deuteranopia (green-blind)
#C0AC3A
Tritanopia (blue-blind)
#C7A094
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b9ac32;
/* rgb */ color: rgb(185, 172, 50);
/* oklch */ color: oklch(73.4% 0.138 103.1);
Tailwind
colors: {
  custom: {
    50: '#d2c472',
    500: '#b9ac32',
    950: '#000000',
  },
}
SCSS
$custom: #b9ac32;
$custom-light: #d2c472;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ac32",
  "rgb": {
    "r": 185,
    "g": 172,
    "b": 50
  },
  "hsl": {
    "h": 54.222,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73403,
    "c": 0.1376,
    "h": 103.1
  },
  "luminance": 0.4005
}

Semantic roles & 50–950 ramp

primary
#B9AC32
secondary
#7F86C8
accent
#56E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9AC32

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

Preview Lab → · Contrast checker → · Palette generator →

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