#B9B149#B9B149

#B9B149 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.7% C 0.125 H 104.9°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#B9B149
RGBrgb(185, 177, 73)
HSLhsl(56, 44%, 51%)
HSVhsv(56, 61%, 73%)
CMYKcmyk(0%, 4.3%, 60.5%, 27.5%)
CIE-LABlab(71.04, -10.29, 52.83)
CIE-LCHlch(71.04, 53.83, 101.03°)
OKLaboklab(74.68% -0.0322 0.1212)
OKLCHoklch(74.68% 0.125 104.9)
XYZxyz(36.9336, 42.2409, 12.5098)
Luminance0.4224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B149 #4951B9
analogous
#B97949 #B9B149 #89B949
triadic
#B9B149 #49B9B1 #B149B9
tetradic
#B9B149 #49B979 #4951B9 #B94989
square
#B9B149 #49B979 #4951B9 #B94989
split-complementary
#B9B149 #4989B9 #7949B9
monochromatic
#625E26 #8E8837 #B9B149 #CAC475 #DBD7A1

Accessibility & contrast

On white

2.22
#B9B149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#B9B149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B149
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B149#FFFFFF#000000##000000
##B9B1491.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB3D
Deuteranopia (green-blind)
#C2B04F
Tritanopia (blue-blind)
#C6A69B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b9b149;
/* rgb */ color: rgb(185, 177, 73);
/* oklch */ color: oklch(74.7% 0.125 104.9);
Tailwind
colors: {
  custom: {
    50: '#d1c880',
    500: '#b9b149',
    950: '#000000',
  },
}
SCSS
$custom: #b9b149;
$custom-light: #d1c880;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b149",
  "rgb": {
    "r": 185,
    "g": 177,
    "b": 73
  },
  "hsl": {
    "h": 55.714,
    "s": 44.444,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74677,
    "c": 0.12541,
    "h": 104.9
  },
  "luminance": 0.4224
}

Semantic roles & 50–950 ramp

primary
#B9B149
secondary
#969AC8
accent
#5DD454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9B149

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

Preview Lab → · Contrast checker → · Palette generator →

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