#B9B34A#B9B34A

#B9B34A is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.1% C 0.127 H 106.0°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#B9B34A
RGBrgb(185, 179, 74)
HSLhsl(57, 44%, 51%)
HSVhsv(57, 60%, 73%)
CMYKcmyk(0%, 3.2%, 60%, 27.5%)
CIE-LABlab(71.59, -11.26, 52.99)
CIE-LCHlch(71.59, 54.18, 102.00°)
OKLaboklab(75.12% -0.0349 0.1217)
OKLCHoklch(75.12% 0.127 106)
XYZxyz(37.3649, 43.0501, 12.8185)
Luminance0.4305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B34A #4A50B9
analogous
#B97B4A #B9B34A #87B94A
triadic
#B9B34A #4AB9B3 #B34AB9
tetradic
#B9B34A #4AB97B #4A50B9 #B94A87
square
#B9B34A #4AB97B #4A50B9 #B94A87
split-complementary
#B9B34A #4A87B9 #7B4AB9
monochromatic
#635F26 #8F8A37 #B9B34A #CAC676 #DBD8A2

Accessibility & contrast

On white

2.19
#B9B34A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#B9B34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B34A
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B34A#FFFFFF#000000##000000
##B9B34A1.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD3E
Deuteranopia (green-blind)
#C4B150
Tritanopia (blue-blind)
#C6A89C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b9b34a;
/* rgb */ color: rgb(185, 179, 74);
/* oklch */ color: oklch(75.1% 0.127 106.0);
Tailwind
colors: {
  custom: {
    50: '#d1c981',
    500: '#b9b34a',
    950: '#000000',
  },
}
SCSS
$custom: #b9b34a;
$custom-light: #d1c981;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b34a",
  "rgb": {
    "r": 185,
    "g": 179,
    "b": 74
  },
  "hsl": {
    "h": 56.757,
    "s": 44.223,
    "l": 50.784
  },
  "oklch": {
    "l": 0.75119,
    "c": 0.12656,
    "h": 106
  },
  "luminance": 0.43049
}

Semantic roles & 50–950 ramp

primary
#B9B34A
secondary
#9799C8
accent
#5BD454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #B9B34A

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

Preview Lab → · Contrast checker → · Palette generator →

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