#B9B131#B9B131

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

Color values

HEX#B9B131
RGBrgb(185, 177, 49)
HSLhsl(56, 58%, 46%)
HSVhsv(56, 74%, 73%)
CMYKcmyk(0%, 4.3%, 73.5%, 27.5%)
CIE-LABlab(70.86, -11.67, 62.32)
CIE-LCHlch(70.86, 63.41, 100.61°)
OKLaboklab(74.48% -0.0387 0.1373)
OKLCHoklch(74.48% 0.143 105.7)
XYZxyz(36.2856, 41.9817, 9.0971)
Luminance0.4198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B131 #3139B9
analogous
#B96D31 #B9B131 #7DB931
triadic
#B9B131 #31B9B1 #B131B9
tetradic
#B9B131 #31B96D #3139B9 #B9317D
square
#B9B131 #31B96D #3139B9 #B9317D
split-complementary
#B9B131 #317DB9 #6D31B9
monochromatic
#585417 #898324 #B9B131 #D2CB55 #DFDA86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B131#FFFFFF#000000##000000
##B9B1311.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)
#C1AA18
Deuteranopia (green-blind)
#C4B03A
Tritanopia (blue-blind)
#C7A598
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b9b131;
/* rgb */ color: rgb(185, 177, 49);
/* oklch */ color: oklch(74.5% 0.143 105.7);
Tailwind
colors: {
  custom: {
    50: '#d2c873',
    500: '#b9b131',
    950: '#000000',
  },
}
SCSS
$custom: #b9b131;
$custom-light: #d2c873;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b131",
  "rgb": {
    "r": 185,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 56.471,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74478,
    "c": 0.14268,
    "h": 105.7
  },
  "luminance": 0.4198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9B131

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

Preview Lab → · Contrast checker → · Palette generator →

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