#B9AA36#B9AA36

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

Color values

HEX#B9AA36
RGBrgb(185, 170, 54)
HSLhsl(53, 55%, 47%)
HSVhsv(53, 71%, 73%)
CMYKcmyk(0%, 8.1%, 70.8%, 27.5%)
CIE-LABlab(68.99, -7.79, 58.66)
CIE-LCHlch(68.99, 59.18, 97.56°)
OKLaboklab(73% -0.0272 0.1305)
OKLCHoklch(73% 0.133 101.8)
XYZxyz(35.0497, 39.3316, 9.2349)
Luminance0.3933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AA36 #3645B9
analogous
#B96936 #B9AA36 #87B936
triadic
#B9AA36 #36B9AA #AA36B9
tetradic
#B9AA36 #36B969 #3645B9 #B93687
square
#B9AA36 #36B969 #3645B9 #B93687
split-complementary
#B9AA36 #3687B9 #6936B9
monochromatic
#5A531A #8A7E28 #B9AA36 #D0C25D #DDD48C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9AA36#FFFFFF#000000##000000
##B9AA361.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)
#BAA524
Deuteranopia (green-blind)
#BEAB3D
Tritanopia (blue-blind)
#C79E93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b9aa36;
/* rgb */ color: rgb(185, 170, 54);
/* oklch */ color: oklch(73.0% 0.133 101.8);
Tailwind
colors: {
  custom: {
    50: '#d2c374',
    500: '#b9aa36',
    950: '#000000',
  },
}
SCSS
$custom: #b9aa36;
$custom-light: #d2c374;
$custom-dark: #000000;
JSON
{
  "hex": "#b9aa36",
  "rgb": {
    "r": 185,
    "g": 170,
    "b": 54
  },
  "hsl": {
    "h": 53.13,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73002,
    "c": 0.13332,
    "h": 101.8
  },
  "luminance": 0.3933
}

Semantic roles & 50–950 ramp

primary
#B9AA36
secondary
#838BC8
accent
#5BDE4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #B9AA36

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

Preview Lab → · Contrast checker → · Palette generator →

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