#B9B730#B9B730

#B9B730 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.8% C 0.149 H 108.6°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#B9B730
RGBrgb(185, 183, 48)
HSLhsl(59, 59%, 46%)
HSVhsv(59, 74%, 73%)
CMYKcmyk(0%, 1.1%, 74.1%, 27.5%)
CIE-LABlab(72.49, -14.79, 64.21)
CIE-LCHlch(72.49, 65.89, 102.97°)
OKLaboklab(75.78% -0.0475 0.1412)
OKLCHoklch(75.78% 0.149 108.6)
XYZxyz(37.4760, 44.3959, 9.3909)
Luminance0.4440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B730 #3032B9
analogous
#B97230 #B9B730 #76B930
triadic
#B9B730 #30B9B7 #B730B9
tetradic
#B9B730 #30B972 #3032B9 #B93076
square
#B9B730 #30B972 #3032B9 #B93076
split-complementary
#B9B730 #3076B9 #7230B9
monochromatic
#585717 #888723 #B9B730 #D3D154 #DFDE84

Accessibility & contrast

On white

2.13
#B9B730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#B9B730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B730
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B730#FFFFFF#000000##000000
##B9B7301.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF13
Deuteranopia (green-blind)
#C8B43B
Tritanopia (blue-blind)
#C6AB9D
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b9b730;
/* rgb */ color: rgb(185, 183, 48);
/* oklch */ color: oklch(75.8% 0.149 108.6);
Tailwind
colors: {
  custom: {
    50: '#d2cc73',
    500: '#b9b730',
    950: '#000000',
  },
}
SCSS
$custom: #b9b730;
$custom-light: #d2cc73;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b730",
  "rgb": {
    "r": 185,
    "g": 183,
    "b": 48
  },
  "hsl": {
    "h": 59.124,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75779,
    "c": 0.14894,
    "h": 108.6
  },
  "luminance": 0.44395
}

Semantic roles & 50–950 ramp

primary
#B9B730
secondary
#7C7DC9
accent
#48E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9B730

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

Preview Lab → · Contrast checker → · Palette generator →

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