#B9B030#B9B030

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

Color values

HEX#B9B030
RGBrgb(185, 176, 48)
HSLhsl(56, 59%, 46%)
HSVhsv(56, 74%, 73%)
CMYKcmyk(0%, 4.9%, 74.1%, 27.5%)
CIE-LABlab(70.58, -11.20, 62.41)
CIE-LCHlch(70.58, 63.41, 100.17°)
OKLaboklab(74.25% -0.0375 0.1373)
OKLCHoklch(74.25% 0.142 105.3)
XYZxyz(36.0679, 41.5797, 8.9215)
Luminance0.4158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B030 #3039B9
analogous
#B96B30 #B9B030 #7EB930
triadic
#B9B030 #30B9B0 #B030B9
tetradic
#B9B030 #30B96B #3039B9 #B9307E
square
#B9B030 #30B96B #3039B9 #B9307E
split-complementary
#B9B030 #307EB9 #6B30B9
monochromatic
#585417 #888223 #B9B030 #D3CA54 #DFD984

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9B030#FFFFFF#000000##000000
##B9B0301.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)
#C0AA17
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#C7A497
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b9b030;
/* rgb */ color: rgb(185, 176, 48);
/* oklch */ color: oklch(74.3% 0.142 105.3);
Tailwind
colors: {
  custom: {
    50: '#d2c772',
    500: '#b9b030',
    950: '#000000',
  },
}
SCSS
$custom: #b9b030;
$custom-light: #d2c772;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b030",
  "rgb": {
    "r": 185,
    "g": 176,
    "b": 48
  },
  "hsl": {
    "h": 56.058,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74254,
    "c": 0.14235,
    "h": 105.3
  },
  "luminance": 0.41578
}

Semantic roles & 50–950 ramp

primary
#B9B030
secondary
#7C81C9
accent
#50E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9B030

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

Preview Lab → · Contrast checker → · Palette generator →

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