#B9AB45#B9AB45

#B9AB45 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.3% C 0.123 H 101.5°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#B9AB45
RGBrgb(185, 171, 69)
HSLhsl(53, 46%, 50%)
HSVhsv(53, 63%, 73%)
CMYKcmyk(0%, 7.6%, 62.7%, 27.5%)
CIE-LABlab(69.38, -7.43, 52.81)
CIE-LCHlch(69.38, 53.33, 98.01°)
OKLaboklab(73.35% -0.0245 0.1206)
OKLCHoklch(73.35% 0.123 101.5)
XYZxyz(35.6461, 39.8712, 11.4473)
Luminance0.3987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AB45 #4553B9
analogous
#B97145 #B9AB45 #8DB945
triadic
#B9AB45 #45B9AB #AB45B9
tetradic
#B9AB45 #45B971 #4553B9 #B9458D
square
#B9AB45 #45B971 #4553B9 #B9458D
split-complementary
#B9AB45 #458DB9 #7145B9
monochromatic
#605924 #8C8234 #B9AB45 #CABF71 #DBD39E

Accessibility & contrast

On white

2.34
#B9AB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#B9AB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AB45
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AB45#FFFFFF#000000##000000
##B9AB451.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA639
Deuteranopia (green-blind)
#BEAC4A
Tritanopia (blue-blind)
#C6A095
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b9ab45;
/* rgb */ color: rgb(185, 171, 69);
/* oklch */ color: oklch(73.3% 0.123 101.5);
Tailwind
colors: {
  custom: {
    50: '#d1c37d',
    500: '#b9ab45',
    950: '#000000',
  },
}
SCSS
$custom: #b9ab45;
$custom-light: #d1c37d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ab45",
  "rgb": {
    "r": 185,
    "g": 171,
    "b": 69
  },
  "hsl": {
    "h": 52.759,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73347,
    "c": 0.12304,
    "h": 101.5
  },
  "luminance": 0.3987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9AB45

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

Preview Lab → · Contrast checker → · Palette generator →

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