#B9B930#B9B930

#B9B930 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.2% C 0.151 H 109.5°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#B9B930
RGBrgb(185, 185, 48)
HSLhsl(60, 59%, 46%)
HSVhsv(60, 74%, 73%)
CMYKcmyk(0%, 0%, 74.1%, 27.5%)
CIE-LABlab(73.04, -15.81, 64.72)
CIE-LCHlch(73.04, 66.62, 103.72°)
OKLaboklab(76.22% -0.0504 0.1422)
OKLCHoklch(76.22% 0.151 109.5)
XYZxyz(37.8914, 45.2268, 9.5294)
Luminance0.4523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B930 #3030B9
analogous
#B97430 #B9B930 #74B930
triadic
#B9B930 #30B9B9 #B930B9
tetradic
#B9B930 #30B974 #3030B9 #B93074
square
#B9B930 #30B974 #3030B9 #B93074
split-complementary
#B9B930 #3074B9 #7430B9
monochromatic
#585817 #888823 #B9B930 #D3D354 #DFDF84

Accessibility & contrast

On white

2.09
#B9B930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#B9B930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B930
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B930#FFFFFF#000000##000000
##B9B9301.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B112
Deuteranopia (green-blind)
#CAB53B
Tritanopia (blue-blind)
#C6AD9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b9b930;
/* rgb */ color: rgb(185, 185, 48);
/* oklch */ color: oklch(76.2% 0.151 109.5);
Tailwind
colors: {
  custom: {
    50: '#d2cd73',
    500: '#b9b930',
    950: '#000000',
  },
}
SCSS
$custom: #b9b930;
$custom-light: #d2cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b930",
  "rgb": {
    "r": 185,
    "g": 185,
    "b": 48
  },
  "hsl": {
    "h": 60,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76217,
    "c": 0.1509,
    "h": 109.5
  },
  "luminance": 0.45226
}

Semantic roles & 50–950 ramp

primary
#B9B930
secondary
#7C7CC9
accent
#46E246
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B930

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

Preview Lab → · Contrast checker → · Palette generator →

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