#B9B146#B9B146

#B9B146 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.6% C 0.128 H 105.0°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#B9B146
RGBrgb(185, 177, 70)
HSLhsl(56, 45%, 50%)
HSVhsv(56, 62%, 73%)
CMYKcmyk(0%, 4.3%, 62.2%, 27.5%)
CIE-LABlab(71.01, -10.50, 54.13)
CIE-LCHlch(71.01, 55.14, 100.98°)
OKLaboklab(74.65% -0.0332 0.1235)
OKLCHoklch(74.65% 0.128 105)
XYZxyz(36.8365, 42.2020, 11.9986)
Luminance0.4220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B146 #464EB9
analogous
#B97746 #B9B146 #88B946
triadic
#B9B146 #46B9B1 #B146B9
tetradic
#B9B146 #46B977 #464EB9 #B94688
square
#B9B146 #46B977 #464EB9 #B94688
split-complementary
#B9B146 #4688B9 #7746B9
monochromatic
#605C24 #8D8735 #B9B146 #CAC472 #DBD69F

Accessibility & contrast

On white

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

On black

9.44
#B9B146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B146
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B146#FFFFFF#000000##000000
##B9B1461.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB39
Deuteranopia (green-blind)
#C3B04C
Tritanopia (blue-blind)
#C6A69A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b9b146;
/* rgb */ color: rgb(185, 177, 70);
/* oklch */ color: oklch(74.6% 0.128 105.0);
Tailwind
colors: {
  custom: {
    50: '#d1c87e',
    500: '#b9b146',
    950: '#000000',
  },
}
SCSS
$custom: #b9b146;
$custom-light: #d1c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b146",
  "rgb": {
    "r": 185,
    "g": 177,
    "b": 70
  },
  "hsl": {
    "h": 55.826,
    "s": 45.098,
    "l": 50
  },
  "oklch": {
    "l": 0.74647,
    "c": 0.1279,
    "h": 105
  },
  "luminance": 0.42201
}

Semantic roles & 50–950 ramp

primary
#B9B146
secondary
#9497C7
accent
#5CD553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9B146

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

Preview Lab → · Contrast checker → · Palette generator →

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