#B9B830#B9B830

#B9B830 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.0% C 0.150 H 109.1°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#B9B830
RGBrgb(185, 184, 48)
HSLhsl(60, 59%, 46%)
HSVhsv(60, 74%, 73%)
CMYKcmyk(0%, 0.5%, 74.1%, 27.5%)
CIE-LABlab(72.77, -15.30, 64.47)
CIE-LCHlch(72.77, 66.26, 103.35°)
OKLaboklab(76% -0.049 0.1417)
OKLCHoklch(76% 0.15 109.1)
XYZxyz(37.6830, 44.8098, 9.4599)
Luminance0.4481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B830 #3031B9
analogous
#B97330 #B9B830 #75B930
triadic
#B9B830 #30B9B8 #B830B9
tetradic
#B9B830 #30B973 #3031B9 #B93075
square
#B9B830 #30B973 #3031B9 #B93075
split-complementary
#B9B830 #3075B9 #7330B9
monochromatic
#585717 #888823 #B9B830 #D3D254 #DFDE84

Accessibility & contrast

On white

2.11
#B9B830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#B9B830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B830
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B830#FFFFFF#000000##000000
##B9B8301.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B012
Deuteranopia (green-blind)
#C9B53B
Tritanopia (blue-blind)
#C6AC9E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b9b830;
/* rgb */ color: rgb(185, 184, 48);
/* oklch */ color: oklch(76.0% 0.150 109.1);
Tailwind
colors: {
  custom: {
    50: '#d2cd73',
    500: '#b9b830',
    950: '#000000',
  },
}
SCSS
$custom: #b9b830;
$custom-light: #d2cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b830",
  "rgb": {
    "r": 185,
    "g": 184,
    "b": 48
  },
  "hsl": {
    "h": 59.562,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75998,
    "c": 0.14991,
    "h": 109.1
  },
  "luminance": 0.44809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9B830

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

Preview Lab → · Contrast checker → · Palette generator →

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