#B9BA32#B9BA32

#B9BA32 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.4% C 0.151 H 109.9°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#B9BA32
RGBrgb(185, 186, 50)
HSLhsl(60, 58%, 46%)
HSVhsv(60, 73%, 73%)
CMYKcmyk(0.5%, 0%, 73.1%, 27.1%)
CIE-LABlab(73.33, -16.22, 64.32)
CIE-LCHlch(73.33, 66.33, 104.16°)
OKLaboklab(76.45% -0.0514 0.1417)
OKLCHoklch(76.45% 0.151 109.9)
XYZxyz(38.1436, 45.6635, 9.8217)
Luminance0.4566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BA32 #3332BA
analogous
#BA7732 #B9BA32 #75BA32
triadic
#B9BA32 #32B9BA #BA32B9
tetradic
#B9BA32 #32BA77 #3332BA #BA3275
square
#B9BA32 #32BA77 #3332BA #BA3275
split-complementary
#B9BA32 #3275BA #7732BA
monochromatic
#595A18 #898A25 #B9BA32 #D1D257 #DEDF88

Accessibility & contrast

On white

2.07
#B9BA32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#B9BA32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BA32
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BA32#FFFFFF#000000##000000
##B9BA321.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B216
Deuteranopia (green-blind)
#CAB63D
Tritanopia (blue-blind)
#C6AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b9ba32;
/* rgb */ color: rgb(185, 186, 50);
/* oklch */ color: oklch(76.4% 0.151 109.9);
Tailwind
colors: {
  custom: {
    50: '#d2ce74',
    500: '#b9ba32',
    950: '#000000',
  },
}
SCSS
$custom: #b9ba32;
$custom-light: #d2ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#b9ba32",
  "rgb": {
    "r": 185,
    "g": 186,
    "b": 50
  },
  "hsl": {
    "h": 60.441,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.76449,
    "c": 0.15076,
    "h": 109.9
  },
  "luminance": 0.45662
}

Semantic roles & 50–950 ramp

primary
#B9BA32
secondary
#807FC9
accent
#47E148
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9BA32

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

Preview Lab → · Contrast checker → · Palette generator →

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