#B9B048#B9B048

#B9B048 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.5% C 0.125 H 104.4°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#B9B048
RGBrgb(185, 176, 72)
HSLhsl(55, 45%, 50%)
HSVhsv(55, 61%, 73%)
CMYKcmyk(0%, 4.9%, 61.1%, 27.5%)
CIE-LABlab(70.76, -9.84, 52.97)
CIE-LCHlch(70.76, 53.88, 100.53°)
OKLaboklab(74.45% -0.0311 0.1214)
OKLCHoklch(74.45% 0.125 104.4)
XYZxyz(36.7039, 41.8341, 12.2710)
Luminance0.4183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B048 #4851B9
analogous
#B97748 #B9B048 #8AB948
triadic
#B9B048 #48B9B0 #B048B9
tetradic
#B9B048 #48B977 #4851B9 #B9488A
square
#B9B048 #48B977 #4851B9 #B9488A
split-complementary
#B9B048 #488AB9 #7748B9
monochromatic
#615D25 #8E8736 #B9B048 #CAC374 #DBD6A1

Accessibility & contrast

On white

2.24
#B9B048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#B9B048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B048
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B048#FFFFFF#000000##000000
##B9B0481.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3C
Deuteranopia (green-blind)
#C2AF4E
Tritanopia (blue-blind)
#C6A59A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b9b048;
/* rgb */ color: rgb(185, 176, 72);
/* oklch */ color: oklch(74.5% 0.125 104.4);
Tailwind
colors: {
  custom: {
    50: '#d1c77f',
    500: '#b9b048',
    950: '#000000',
  },
}
SCSS
$custom: #b9b048;
$custom-light: #d1c77f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b048",
  "rgb": {
    "r": 185,
    "g": 176,
    "b": 72
  },
  "hsl": {
    "h": 55.221,
    "s": 44.664,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74451,
    "c": 0.12527,
    "h": 104.4
  },
  "luminance": 0.41833
}

Semantic roles & 50–950 ramp

primary
#B9B048
secondary
#9599C8
accent
#5ED453
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9B048

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

Preview Lab → · Contrast checker → · Palette generator →

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