#B9AA3A#B9AA3A

#B9AA3A is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.131 H 101.6°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#B9AA3A
RGBrgb(185, 170, 58)
HSLhsl(53, 52%, 48%)
HSVhsv(53, 69%, 73%)
CMYKcmyk(0%, 8.1%, 68.6%, 27.5%)
CIE-LABlab(69.02, -7.58, 57.11)
CIE-LCHlch(69.02, 57.61, 97.56°)
OKLaboklab(73.03% -0.0262 0.1279)
OKLCHoklch(73.03% 0.131 101.6)
XYZxyz(35.1475, 39.3707, 9.7501)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AA3A #3A49B9
analogous
#B96A3A #B9AA3A #89B93A
triadic
#B9AA3A #3AB9AA #AA3AB9
tetradic
#B9AA3A #3AB96A #3A49B9 #B93A89
square
#B9AA3A #3AB96A #3A49B9 #B93A89
split-complementary
#B9AA3A #3A89B9 #6A3AB9
monochromatic
#5C541D #8A7F2B #B9AA3A #CEC162 #DCD491

Accessibility & contrast

On white

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

On black

8.87
#B9AA3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AA3A
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AA3A#FFFFFF#000000##000000
##B9AA3A1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9aa3a;
/* rgb */ color: rgb(185, 170, 58);
/* oklch */ color: oklch(73.0% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#d1c377',
    500: '#b9aa3a',
    950: '#000000',
  },
}
SCSS
$custom: #b9aa3a;
$custom-light: #d1c377;
$custom-dark: #000000;
JSON
{
  "hex": "#b9aa3a",
  "rgb": {
    "r": 185,
    "g": 170,
    "b": 58
  },
  "hsl": {
    "h": 52.913,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73034,
    "c": 0.13058,
    "h": 101.6
  },
  "luminance": 0.39369
}

Semantic roles & 50–950 ramp

primary
#B9AA3A
secondary
#878FC7
accent
#5DDC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B9AA3A

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

Preview Lab → · Contrast checker → · Palette generator →

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