#B9AA3B#B9AA3B

#B9AA3B is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.130 H 101.5°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#B9AA3B
RGBrgb(185, 170, 59)
HSLhsl(53, 52%, 48%)
HSVhsv(53, 68%, 73%)
CMYKcmyk(0%, 8.1%, 68.1%, 27.5%)
CIE-LABlab(69.03, -7.52, 56.71)
CIE-LCHlch(69.03, 57.20, 97.55°)
OKLaboklab(73.04% -0.0259 0.1273)
OKLCHoklch(73.04% 0.13 101.5)
XYZxyz(35.1732, 39.3810, 9.8854)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AA3B #3B4AB9
analogous
#B96B3B #B9AA3B #89B93B
triadic
#B9AA3B #3BB9AA #AA3BB9
tetradic
#B9AA3B #3BB96B #3B4AB9 #B93B89
square
#B9AA3B #3BB96B #3B4AB9 #B93B89
split-complementary
#B9AA3B #3B89B9 #6B3BB9
monochromatic
#5C551D #8B7F2C #B9AA3B #CDC164 #DCD392

Accessibility & contrast

On white

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

On black

8.88
#B9AA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AA3B
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AA3B#FFFFFF#000000##000000
##B9AA3B1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9aa3b;
/* rgb */ color: rgb(185, 170, 59);
/* oklch */ color: oklch(73.0% 0.130 101.5);
Tailwind
colors: {
  custom: {
    50: '#d1c377',
    500: '#b9aa3b',
    950: '#000000',
  },
}
SCSS
$custom: #b9aa3b;
$custom-light: #d1c377;
$custom-dark: #000000;
JSON
{
  "hex": "#b9aa3b",
  "rgb": {
    "r": 185,
    "g": 170,
    "b": 59
  },
  "hsl": {
    "h": 52.857,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73042,
    "c": 0.12987,
    "h": 101.5
  },
  "luminance": 0.3938
}

Semantic roles & 50–950 ramp

primary
#B9AA3B
secondary
#8890C7
accent
#5EDB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B9AA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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