#B9B148#B9B148

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

Color values

HEX#B9B148
RGBrgb(185, 177, 72)
HSLhsl(56, 45%, 50%)
HSVhsv(56, 61%, 73%)
CMYKcmyk(0%, 4.3%, 61.1%, 27.5%)
CIE-LABlab(71.03, -10.36, 53.27)
CIE-LCHlch(71.03, 54.27, 101.01°)
OKLaboklab(74.67% -0.0326 0.122)
OKLCHoklch(74.67% 0.126 104.9)
XYZxyz(36.9007, 42.2277, 12.3366)
Luminance0.4223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B148 #4850B9
analogous
#B97848 #B9B148 #89B948
triadic
#B9B148 #48B9B1 #B148B9
tetradic
#B9B148 #48B978 #4850B9 #B94889
square
#B9B148 #48B978 #4850B9 #B94889
split-complementary
#B9B148 #4889B9 #7848B9
monochromatic
#615D25 #8E8736 #B9B148 #CAC474 #DBD7A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B148#FFFFFF#000000##000000
##B9B1481.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)
#BFAB3C
Deuteranopia (green-blind)
#C2B04E
Tritanopia (blue-blind)
#C6A69B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b9b148;
/* rgb */ color: rgb(185, 177, 72);
/* oklch */ color: oklch(74.7% 0.126 104.9);
Tailwind
colors: {
  custom: {
    50: '#d1c87f',
    500: '#b9b148',
    950: '#000000',
  },
}
SCSS
$custom: #b9b148;
$custom-light: #d1c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b148",
  "rgb": {
    "r": 185,
    "g": 177,
    "b": 72
  },
  "hsl": {
    "h": 55.752,
    "s": 44.664,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74667,
    "c": 0.12625,
    "h": 104.9
  },
  "luminance": 0.42226
}

Semantic roles & 50–950 ramp

primary
#B9B148
secondary
#9599C8
accent
#5DD453
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9B148

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

Preview Lab → · Contrast checker → · Palette generator →

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