#B9B130#B9B130

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

Color values

HEX#B9B130
RGBrgb(185, 177, 48)
HSLhsl(56, 59%, 46%)
HSVhsv(56, 74%, 73%)
CMYKcmyk(0%, 4.3%, 74.1%, 27.5%)
CIE-LABlab(70.85, -11.72, 62.67)
CIE-LCHlch(70.85, 63.75, 100.59°)
OKLaboklab(74.47% -0.0389 0.1379)
OKLCHoklch(74.47% 0.143 105.8)
XYZxyz(36.2647, 41.9733, 8.9871)
Luminance0.4197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B130 #3038B9
analogous
#B96C30 #B9B130 #7DB930
triadic
#B9B130 #30B9B1 #B130B9
tetradic
#B9B130 #30B96C #3038B9 #B9307D
square
#B9B130 #30B96C #3038B9 #B9307D
split-complementary
#B9B130 #307DB9 #6C30B9
monochromatic
#585417 #888323 #B9B130 #D3CB54 #DFDA84

Accessibility & contrast

On white

2.24
#B9B130 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#B9B130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B130
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B130#FFFFFF#000000##000000
##B9B1301.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9b130;
/* rgb */ color: rgb(185, 177, 48);
/* oklch */ color: oklch(74.5% 0.143 105.8);
Tailwind
colors: {
  custom: {
    50: '#d2c872',
    500: '#b9b130',
    950: '#000000',
  },
}
SCSS
$custom: #b9b130;
$custom-light: #d2c872;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b130",
  "rgb": {
    "r": 185,
    "g": 177,
    "b": 48
  },
  "hsl": {
    "h": 56.496,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74471,
    "c": 0.14327,
    "h": 105.8
  },
  "luminance": 0.41972
}

Semantic roles & 50–950 ramp

primary
#B9B130
secondary
#7C81C9
accent
#4FE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9B130

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

Preview Lab → · Contrast checker → · Palette generator →

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