#B9AA45#B9AA45

#B9AA45 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.1% C 0.122 H 100.9°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#B9AA45
RGBrgb(185, 170, 69)
HSLhsl(52, 46%, 50%)
HSVhsv(52, 63%, 73%)
CMYKcmyk(0%, 8.1%, 62.7%, 27.5%)
CIE-LABlab(69.11, -6.91, 52.52)
CIE-LCHlch(69.11, 52.97, 97.49°)
OKLaboklab(73.13% -0.023 0.12)
OKLCHoklch(73.13% 0.122 100.9)
XYZxyz(35.4579, 39.4949, 11.3846)
Luminance0.3949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AA45 #4554B9
analogous
#B97045 #B9AA45 #8EB945
triadic
#B9AA45 #45B9AA #AA45B9
tetradic
#B9AA45 #45B970 #4554B9 #B9458E
square
#B9AA45 #45B970 #4554B9 #B9458E
split-complementary
#B9AA45 #458EB9 #7045B9
monochromatic
#605824 #8C8134 #B9AA45 #CABF71 #DBD39E

Accessibility & contrast

On white

2.36
#B9AA45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#B9AA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AA45
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AA45#FFFFFF#000000##000000
##B9AA451.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A539
Deuteranopia (green-blind)
#BDAB4A
Tritanopia (blue-blind)
#C69F94
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b9aa45;
/* rgb */ color: rgb(185, 170, 69);
/* oklch */ color: oklch(73.1% 0.122 100.9);
Tailwind
colors: {
  custom: {
    50: '#d1c37d',
    500: '#b9aa45',
    950: '#000000',
  },
}
SCSS
$custom: #b9aa45;
$custom-light: #d1c37d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9aa45",
  "rgb": {
    "r": 185,
    "g": 170,
    "b": 69
  },
  "hsl": {
    "h": 52.241,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73133,
    "c": 0.12214,
    "h": 100.9
  },
  "luminance": 0.39493
}

Semantic roles & 50–950 ramp

primary
#B9AA45
secondary
#9399C7
accent
#63D552
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B9AA45

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

Preview Lab → · Contrast checker → · Palette generator →

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