#B9B132#B9B132

#B9B132 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.5% C 0.142 H 105.7°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#B9B132
RGBrgb(185, 177, 50)
HSLhsl(56, 57%, 46%)
HSVhsv(56, 73%, 73%)
CMYKcmyk(0%, 4.3%, 73%, 27.5%)
CIE-LABlab(70.86, -11.63, 61.97)
CIE-LCHlch(70.86, 63.05, 100.62°)
OKLaboklab(74.48% -0.0385 0.1368)
OKLCHoklch(74.48% 0.142 105.7)
XYZxyz(36.3069, 41.9902, 9.2094)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B132 #323AB9
analogous
#B96D32 #B9B132 #7DB932
triadic
#B9B132 #32B9B1 #B132B9
tetradic
#B9B132 #32B96D #323AB9 #B9327D
square
#B9B132 #32B96D #323AB9 #B9327D
split-complementary
#B9B132 #327DB9 #6D32B9
monochromatic
#595518 #898325 #B9B132 #D2CA57 #DFD987

Accessibility & contrast

On white

2.23
#B9B132 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#B9B132 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B132
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B132#FFFFFF#000000##000000
##B9B1321.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA1A
Deuteranopia (green-blind)
#C4B03B
Tritanopia (blue-blind)
#C7A598
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b9b132;
/* rgb */ color: rgb(185, 177, 50);
/* oklch */ color: oklch(74.5% 0.142 105.7);
Tailwind
colors: {
  custom: {
    50: '#d2c873',
    500: '#b9b132',
    950: '#000000',
  },
}
SCSS
$custom: #b9b132;
$custom-light: #d2c873;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b132",
  "rgb": {
    "r": 185,
    "g": 177,
    "b": 50
  },
  "hsl": {
    "h": 56.444,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74484,
    "c": 0.14209,
    "h": 105.7
  },
  "luminance": 0.41989
}

Semantic roles & 50–950 ramp

primary
#B9B132
secondary
#7F83C8
accent
#50E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B132

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

Preview Lab → · Contrast checker → · Palette generator →

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