#B9AB41#B9AB41

#B9AB41 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.3% C 0.126 H 101.8°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#B9AB41
RGBrgb(185, 171, 65)
HSLhsl(53, 48%, 49%)
HSVhsv(53, 65%, 73%)
CMYKcmyk(0%, 7.6%, 64.9%, 27.5%)
CIE-LABlab(69.34, -7.69, 54.52)
CIE-LCHlch(69.34, 55.06, 98.03°)
OKLaboklab(73.31% -0.0257 0.1236)
OKLCHoklch(73.31% 0.126 101.8)
XYZxyz(35.5261, 39.8232, 10.8153)
Luminance0.3982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9AB41 #414FB9
analogous
#B96F41 #B9AB41 #8BB941
triadic
#B9AB41 #41B9AB #AB41B9
tetradic
#B9AB41 #41B96F #414FB9 #B9418B
square
#B9AB41 #41B96F #414FB9 #B9418B
split-complementary
#B9AB41 #418BB9 #6F41B9
monochromatic
#5E5721 #8C8131 #B9AB41 #CBC06C #DBD499

Accessibility & contrast

On white

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

On black

8.96
#B9AB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9AB41
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9AB41#FFFFFF#000000##000000
##B9AB411.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA634
Deuteranopia (green-blind)
#BEAC47
Tritanopia (blue-blind)
#C79F95
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b9ab41;
/* rgb */ color: rgb(185, 171, 65);
/* oklch */ color: oklch(73.3% 0.126 101.8);
Tailwind
colors: {
  custom: {
    50: '#d1c37b',
    500: '#b9ab41',
    950: '#000000',
  },
}
SCSS
$custom: #b9ab41;
$custom-light: #d1c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ab41",
  "rgb": {
    "r": 185,
    "g": 171,
    "b": 65
  },
  "hsl": {
    "h": 53,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73309,
    "c": 0.12625,
    "h": 101.8
  },
  "luminance": 0.39822
}

Semantic roles & 50–950 ramp

primary
#B9AB41
secondary
#8F95C7
accent
#60D850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B9AB41

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

Preview Lab → · Contrast checker → · Palette generator →

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