#B9B147#B9B147

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

Color values

HEX#B9B147
RGBrgb(185, 177, 71)
HSLhsl(56, 45%, 50%)
HSVhsv(56, 62%, 73%)
CMYKcmyk(0%, 4.3%, 61.6%, 27.5%)
CIE-LABlab(71.02, -10.43, 53.70)
CIE-LCHlch(71.02, 54.71, 100.99°)
OKLaboklab(74.66% -0.0329 0.1228)
OKLCHoklch(74.66% 0.127 105)
XYZxyz(36.8683, 42.2148, 12.1662)
Luminance0.4221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B147 #474FB9
analogous
#B97847 #B9B147 #88B947
triadic
#B9B147 #47B9B1 #B147B9
tetradic
#B9B147 #47B978 #474FB9 #B94788
square
#B9B147 #47B978 #474FB9 #B94788
split-complementary
#B9B147 #4788B9 #7847B9
monochromatic
#615D25 #8D8736 #B9B147 #CAC473 #DBD7A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B147#FFFFFF#000000##000000
##B9B1471.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)
#BFAB3B
Deuteranopia (green-blind)
#C2B04D
Tritanopia (blue-blind)
#C6A69A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b9b147;
/* rgb */ color: rgb(185, 177, 71);
/* oklch */ color: oklch(74.7% 0.127 105.0);
Tailwind
colors: {
  custom: {
    50: '#d1c87f',
    500: '#b9b147',
    950: '#000000',
  },
}
SCSS
$custom: #b9b147;
$custom-light: #d1c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b147",
  "rgb": {
    "r": 185,
    "g": 177,
    "b": 71
  },
  "hsl": {
    "h": 55.789,
    "s": 44.882,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74657,
    "c": 0.12708,
    "h": 105
  },
  "luminance": 0.42214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9B147

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

Preview Lab → · Contrast checker → · Palette generator →

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