#B9AC3A#B9AC3A

#B9AC3A is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.5% C 0.132 H 102.7°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#B9AC3A
RGBrgb(185, 172, 58)
HSLhsl(54, 52%, 48%)
HSVhsv(54, 69%, 73%)
CMYKcmyk(0%, 7%, 68.6%, 27.5%)
CIE-LABlab(69.56, -8.62, 57.66)
CIE-LCHlch(69.56, 58.30, 98.51°)
OKLaboklab(73.46% -0.0292 0.1291)
OKLCHoklch(73.46% 0.132 102.7)
XYZxyz(35.5253, 40.1263, 9.8760)
Luminance0.4012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AC3A #3A47B9
analogous
#B96C3A #B9AC3A #87B93A
triadic
#B9AC3A #3AB9AC #AC3AB9
tetradic
#B9AC3A #3AB96C #3A47B9 #B93A87
square
#B9AC3A #3AB96C #3A47B9 #B93A87
split-complementary
#B9AC3A #3A87B9 #6C3AB9
monochromatic
#5C551D #8A812B #B9AC3A #CEC362 #DCD591

Accessibility & contrast

On white

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

On black

9.02
#B9AC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AC3A
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AC3A#FFFFFF#000000##000000
##B9AC3A1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA72A
Deuteranopia (green-blind)
#BFAD41
Tritanopia (blue-blind)
#C7A095
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #b9ac3a;
/* rgb */ color: rgb(185, 172, 58);
/* oklch */ color: oklch(73.5% 0.132 102.7);
Tailwind
colors: {
  custom: {
    50: '#d1c477',
    500: '#b9ac3a',
    950: '#000000',
  },
}
SCSS
$custom: #b9ac3a;
$custom-light: #d1c477;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ac3a",
  "rgb": {
    "r": 185,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 53.858,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73463,
    "c": 0.13234,
    "h": 102.7
  },
  "luminance": 0.40125
}

Semantic roles & 50–950 ramp

primary
#B9AC3A
secondary
#878EC7
accent
#5BDC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B9AC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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