#B9B548#B9B548

#B9B548 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.5% C 0.130 H 107.2°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#B9B548
RGBrgb(185, 181, 72)
HSLhsl(58, 45%, 50%)
HSVhsv(58, 61%, 73%)
CMYKcmyk(0%, 2.2%, 61.1%, 27.5%)
CIE-LABlab(72.12, -12.43, 54.45)
CIE-LCHlch(72.12, 55.85, 102.86°)
OKLaboklab(75.53% -0.0384 0.1245)
OKLCHoklch(75.53% 0.13 107.2)
XYZxyz(37.7024, 43.8311, 12.6039)
Luminance0.4383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B548 #484CB9
analogous
#B97C48 #B9B548 #84B948
triadic
#B9B548 #48B9B5 #B548B9
tetradic
#B9B548 #48B97C #484CB9 #B94884
square
#B9B548 #48B97C #484CB9 #B94884
split-complementary
#B9B548 #4884B9 #7C48B9
monochromatic
#615F25 #8E8B36 #B9B548 #CAC774 #DBD9A1

Accessibility & contrast

On white

2.15
#B9B548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#B9B548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B548
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B548#FFFFFF#000000##000000
##B9B5481.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3B
Deuteranopia (green-blind)
#C5B34E
Tritanopia (blue-blind)
#C6AA9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b9b548;
/* rgb */ color: rgb(185, 181, 72);
/* oklch */ color: oklch(75.5% 0.130 107.2);
Tailwind
colors: {
  custom: {
    50: '#d1ca80',
    500: '#b9b548',
    950: '#000000',
  },
}
SCSS
$custom: #b9b548;
$custom-light: #d1ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b548",
  "rgb": {
    "r": 185,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 57.876,
    "s": 44.664,
    "l": 50.392
  },
  "oklch": {
    "l": 0.75533,
    "c": 0.13029,
    "h": 107.2
  },
  "luminance": 0.4383
}

Semantic roles & 50–950 ramp

primary
#B9B548
secondary
#9597C8
accent
#58D453
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9B548

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

Preview Lab → · Contrast checker → · Palette generator →

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