#B9B341#B9B341

#B9B341 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.0% C 0.134 H 106.3°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#B9B341
RGBrgb(185, 179, 65)
HSLhsl(57, 48%, 49%)
HSVhsv(57, 65%, 73%)
CMYKcmyk(0%, 3.2%, 64.9%, 27.5%)
CIE-LABlab(71.51, -11.85, 56.80)
CIE-LCHlch(71.51, 58.02, 101.79°)
OKLaboklab(75.03% -0.0376 0.1284)
OKLCHoklch(75.03% 0.134 106.3)
XYZxyz(37.0831, 42.9374, 11.3344)
Luminance0.4294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B341 #4147B9
analogous
#B97741 #B9B341 #83B941
triadic
#B9B341 #41B9B3 #B341B9
tetradic
#B9B341 #41B977 #4147B9 #B94183
square
#B9B341 #41B977 #4147B9 #B94183
split-complementary
#B9B341 #4183B9 #7741B9
monochromatic
#5E5B21 #8C8731 #B9B341 #CBC76C #DBD899

Accessibility & contrast

On white

2.19
#B9B341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#B9B341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B341
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B341#FFFFFF#000000##000000
##B9B3411.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD32
Deuteranopia (green-blind)
#C4B148
Tritanopia (blue-blind)
#C6A89B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b9b341;
/* rgb */ color: rgb(185, 179, 65);
/* oklch */ color: oklch(75.0% 0.134 106.3);
Tailwind
colors: {
  custom: {
    50: '#d1c97b',
    500: '#b9b341',
    950: '#000000',
  },
}
SCSS
$custom: #b9b341;
$custom-light: #d1c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b341",
  "rgb": {
    "r": 185,
    "g": 179,
    "b": 65
  },
  "hsl": {
    "h": 57,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75034,
    "c": 0.1338,
    "h": 106.3
  },
  "luminance": 0.42936
}

Semantic roles & 50–950 ramp

primary
#B9B341
secondary
#8F91C7
accent
#57D850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9B341

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

Preview Lab → · Contrast checker → · Palette generator →

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