#B9AA2A#B9AA2A

#B9AA2A is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.9% C 0.140 H 102.3°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#B9AA2A
RGBrgb(185, 170, 42)
HSLhsl(54, 63%, 45%)
HSVhsv(54, 77%, 73%)
CMYKcmyk(0%, 8.1%, 77.3%, 27.5%)
CIE-LABlab(68.92, -8.33, 62.89)
CIE-LCHlch(68.92, 63.44, 97.54°)
OKLaboklab(72.92% -0.03 0.1372)
OKLCHoklch(72.92% 0.14 102.3)
XYZxyz(34.8019, 39.2325, 7.9295)
Luminance0.3923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AA2A #2A39B9
analogous
#B9622A #B9AA2A #81B92A
triadic
#B9AA2A #2AB9AA #AA2AB9
tetradic
#B9AA2A #2AB962 #2A39B9 #B92A81
square
#B9AA2A #2AB962 #2A39B9 #B92A81
split-complementary
#B9AA2A #2A81B9 #622AB9
monochromatic
#554E13 #877C1F #B9AA2A #D6C74A #E1D77C

Accessibility & contrast

On white

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

On black

8.85
#B9AA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AA2A
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AA2A#FFFFFF#000000##000000
##B9AA2A1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA50A
Deuteranopia (green-blind)
#BFAB34
Tritanopia (blue-blind)
#C79E92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b9aa2a;
/* rgb */ color: rgb(185, 170, 42);
/* oklch */ color: oklch(72.9% 0.140 102.3);
Tailwind
colors: {
  custom: {
    50: '#d2c26e',
    500: '#b9aa2a',
    950: '#000000',
  },
}
SCSS
$custom: #b9aa2a;
$custom-light: #d2c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#b9aa2a",
  "rgb": {
    "r": 185,
    "g": 170,
    "b": 42
  },
  "hsl": {
    "h": 53.706,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72923,
    "c": 0.14045,
    "h": 102.3
  },
  "luminance": 0.39231
}

Semantic roles & 50–950 ramp

primary
#B9AA2A
secondary
#757ECA
accent
#53E642
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9AA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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