#B9AA37#B9AA37

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

Color values

HEX#B9AA37
RGBrgb(185, 170, 55)
HSLhsl(53, 54%, 47%)
HSVhsv(53, 70%, 73%)
CMYKcmyk(0%, 8.1%, 70.3%, 27.5%)
CIE-LABlab(69.00, -7.74, 58.28)
CIE-LCHlch(69.00, 58.79, 97.56°)
OKLaboklab(73.01% -0.027 0.1299)
OKLCHoklch(73.01% 0.133 101.7)
XYZxyz(35.0734, 39.3411, 9.3598)
Luminance0.3934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AA37 #3746B9
analogous
#B96937 #B9AA37 #87B937
triadic
#B9AA37 #37B9AA #AA37B9
tetradic
#B9AA37 #37B969 #3746B9 #B93787
square
#B9AA37 #37B969 #3746B9 #B93787
split-complementary
#B9AA37 #3787B9 #6937B9
monochromatic
#5B531B #8A7F29 #B9AA37 #CFC25E #DDD48D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9AA37#FFFFFF#000000##000000
##B9AA371.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)
#BAA526
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#C79E93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b9aa37;
/* rgb */ color: rgb(185, 170, 55);
/* oklch */ color: oklch(73.0% 0.133 101.7);
Tailwind
colors: {
  custom: {
    50: '#d1c375',
    500: '#b9aa37',
    950: '#000000',
  },
}
SCSS
$custom: #b9aa37;
$custom-light: #d1c375;
$custom-dark: #000000;
JSON
{
  "hex": "#b9aa37",
  "rgb": {
    "r": 185,
    "g": 170,
    "b": 55
  },
  "hsl": {
    "h": 53.077,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.7301,
    "c": 0.13265,
    "h": 101.7
  },
  "luminance": 0.3934
}

Semantic roles & 50–950 ramp

primary
#B9AA37
secondary
#848CC8
accent
#5BDE4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #B9AA37

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

Preview Lab → · Contrast checker → · Palette generator →

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