#B9B032#B9B032

#B9B032 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.3% C 0.141 H 105.2°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#B9B032
RGBrgb(185, 176, 50)
HSLhsl(56, 57%, 46%)
HSVhsv(56, 73%, 73%)
CMYKcmyk(0%, 4.9%, 73%, 27.5%)
CIE-LABlab(70.59, -11.11, 61.71)
CIE-LCHlch(70.59, 62.71, 100.20°)
OKLaboklab(74.27% -0.037 0.1362)
OKLCHoklch(74.27% 0.141 105.2)
XYZxyz(36.1101, 41.5966, 9.1438)
Luminance0.4159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B032 #323BB9
analogous
#B96C32 #B9B032 #7EB932
triadic
#B9B032 #32B9B0 #B032B9
tetradic
#B9B032 #32B96C #323BB9 #B9327E
square
#B9B032 #32B96C #323BB9 #B9327E
split-complementary
#B9B032 #327EB9 #6C32B9
monochromatic
#595418 #898225 #B9B032 #D2C957 #DFD987

Accessibility & contrast

On white

2.25
#B9B032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#B9B032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B032
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B032#FFFFFF#000000##000000
##B9B0321.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA1B
Deuteranopia (green-blind)
#C3AF3B
Tritanopia (blue-blind)
#C7A498
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b9b032;
/* rgb */ color: rgb(185, 176, 50);
/* oklch */ color: oklch(74.3% 0.141 105.2);
Tailwind
colors: {
  custom: {
    50: '#d2c773',
    500: '#b9b032',
    950: '#000000',
  },
}
SCSS
$custom: #b9b032;
$custom-light: #d2c773;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b032",
  "rgb": {
    "r": 185,
    "g": 176,
    "b": 50
  },
  "hsl": {
    "h": 56,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74267,
    "c": 0.14117,
    "h": 105.2
  },
  "luminance": 0.41595
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9B032

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

Preview Lab → · Contrast checker → · Palette generator →

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