#B9AA39#B9AA39

#B9AA39 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#B9AA39
RGBrgb(185, 170, 57)
HSLhsl(53, 53%, 47%)
HSVhsv(53, 69%, 73%)
CMYKcmyk(0%, 8.1%, 69.2%, 27.5%)
CIE-LABlab(69.01, -7.63, 57.50)
CIE-LCHlch(69.01, 58.01, 97.56°)
OKLaboklab(73.03% -0.0265 0.1286)
OKLCHoklch(73.03% 0.131 101.6)
XYZxyz(35.1223, 39.3607, 9.6174)
Luminance0.3936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AA39 #3948B9
analogous
#B96A39 #B9AA39 #88B939
triadic
#B9AA39 #39B9AA #AA39B9
tetradic
#B9AA39 #39B96A #3948B9 #B93988
square
#B9AA39 #39B96A #3948B9 #B93988
split-complementary
#B9AA39 #3988B9 #6A39B9
monochromatic
#5B541C #8A7F2B #B9AA39 #CEC161 #DDD490

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9AA39#FFFFFF#000000##000000
##B9AA391.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)
#BAA529
Deuteranopia (green-blind)
#BEAB40
Tritanopia (blue-blind)
#C79E93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b9aa39;
/* rgb */ color: rgb(185, 170, 57);
/* oklch */ color: oklch(73.0% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#d1c376',
    500: '#b9aa39',
    950: '#000000',
  },
}
SCSS
$custom: #b9aa39;
$custom-light: #d1c376;
$custom-dark: #000000;
JSON
{
  "hex": "#b9aa39",
  "rgb": {
    "r": 185,
    "g": 170,
    "b": 57
  },
  "hsl": {
    "h": 52.969,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73026,
    "c": 0.13128,
    "h": 101.6
  },
  "luminance": 0.39359
}

Semantic roles & 50–950 ramp

primary
#B9AA39
secondary
#868EC8
accent
#5CDC4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B9AA39

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

Preview Lab → · Contrast checker → · Palette generator →

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