#B9B031#B9B031

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

Color values

HEX#B9B031
RGBrgb(185, 176, 49)
HSLhsl(56, 58%, 46%)
HSVhsv(56, 74%, 73%)
CMYKcmyk(0%, 4.9%, 73.5%, 27.5%)
CIE-LABlab(70.59, -11.15, 62.06)
CIE-LCHlch(70.59, 63.06, 100.19°)
OKLaboklab(74.26% -0.0373 0.1368)
OKLCHoklch(74.26% 0.142 105.2)
XYZxyz(36.0888, 41.5881, 9.0315)
Luminance0.4159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B031 #313AB9
analogous
#B96C31 #B9B031 #7EB931
triadic
#B9B031 #31B9B0 #B031B9
tetradic
#B9B031 #31B96C #313AB9 #B9317E
square
#B9B031 #31B96C #313AB9 #B9317E
split-complementary
#B9B031 #317EB9 #6C31B9
monochromatic
#585417 #898224 #B9B031 #D2CA55 #DFD986

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B031#FFFFFF#000000##000000
##B9B0311.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)
#C0AA19
Deuteranopia (green-blind)
#C3AF3A
Tritanopia (blue-blind)
#C7A498
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b9b031;
/* rgb */ color: rgb(185, 176, 49);
/* oklch */ color: oklch(74.3% 0.142 105.2);
Tailwind
colors: {
  custom: {
    50: '#d2c772',
    500: '#b9b031',
    950: '#000000',
  },
}
SCSS
$custom: #b9b031;
$custom-light: #d2c772;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b031",
  "rgb": {
    "r": 185,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 56.029,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74261,
    "c": 0.14177,
    "h": 105.2
  },
  "luminance": 0.41587
}

Semantic roles & 50–950 ramp

primary
#B9B031
secondary
#7D82C8
accent
#51E146
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9B031

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

Preview Lab → · Contrast checker → · Palette generator →

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