#B9AA33#B9AA33

#B9AA33 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 73.0% C 0.135 H 101.9°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#B9AA33
RGBrgb(185, 170, 51)
HSLhsl(53, 57%, 46%)
HSVhsv(53, 72%, 73%)
CMYKcmyk(0%, 8.1%, 72.4%, 27.5%)
CIE-LABlab(68.97, -7.94, 59.79)
CIE-LCHlch(68.97, 60.31, 97.56°)
OKLaboklab(72.98% -0.028 0.1323)
OKLCHoklch(72.98% 0.135 101.9)
XYZxyz(34.9814, 39.3043, 8.8752)
Luminance0.3930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AA33 #3342B9
analogous
#B96733 #B9AA33 #85B933
triadic
#B9AA33 #33B9AA #AA33B9
tetradic
#B9AA33 #33B967 #3342B9 #B93385
square
#B9AA33 #33B967 #3342B9 #B93385
split-complementary
#B9AA33 #3385B9 #6733B9
monochromatic
#595219 #897E26 #B9AA33 #D1C358 #DED588

Accessibility & contrast

On white

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

On black

8.86
#B9AA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AA33
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AA33#FFFFFF#000000##000000
##B9AA331.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9aa33;
/* rgb */ color: rgb(185, 170, 51);
/* oklch */ color: oklch(73.0% 0.135 101.9);
Tailwind
colors: {
  custom: {
    50: '#d2c273',
    500: '#b9aa33',
    950: '#000000',
  },
}
SCSS
$custom: #b9aa33;
$custom-light: #d2c273;
$custom-dark: #000000;
JSON
{
  "hex": "#b9aa33",
  "rgb": {
    "r": 185,
    "g": 170,
    "b": 51
  },
  "hsl": {
    "h": 53.284,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7298,
    "c": 0.13526,
    "h": 101.9
  },
  "luminance": 0.39303
}

Semantic roles & 50–950 ramp

primary
#B9AA33
secondary
#8088C8
accent
#59E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9AA33

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

Preview Lab → · Contrast checker → · Palette generator →

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