#B8B149#B8B149

#B8B149 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.6% C 0.125 H 105.4°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#B8B149
RGBrgb(184, 177, 73)
HSLhsl(56, 44%, 50%)
HSVhsv(56, 60%, 72%)
CMYKcmyk(0%, 3.8%, 60.3%, 27.8%)
CIE-LABlab(70.95, -10.72, 52.72)
CIE-LCHlch(70.95, 53.80, 101.49°)
OKLaboklab(74.59% -0.0334 0.121)
OKLCHoklch(74.59% 0.125 105.4)
XYZxyz(36.6931, 42.1169, 12.4986)
Luminance0.4212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B149 #4950B8
analogous
#B87949 #B8B149 #88B849
triadic
#B8B149 #49B8B1 #B149B8
tetradic
#B8B149 #49B879 #4950B8 #B84988
square
#B8B149 #49B879 #4950B8 #B84988
split-complementary
#B8B149 #4988B8 #7949B8
monochromatic
#615D26 #8D8737 #B8B149 #C9C475 #DAD7A1

Accessibility & contrast

On white

2.23
#B8B149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#B8B149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B149
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B149#FFFFFF#000000##000000
##B8B1491.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB3D
Deuteranopia (green-blind)
#C2B04F
Tritanopia (blue-blind)
#C5A69B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8b149;
/* rgb */ color: rgb(184, 177, 73);
/* oklch */ color: oklch(74.6% 0.125 105.4);
Tailwind
colors: {
  custom: {
    50: '#d0c880',
    500: '#b8b149',
    950: '#000000',
  },
}
SCSS
$custom: #b8b149;
$custom-light: #d0c880;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b149",
  "rgb": {
    "r": 184,
    "g": 177,
    "b": 73
  },
  "hsl": {
    "h": 56.216,
    "s": 43.874,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74588,
    "c": 0.12549,
    "h": 105.4
  },
  "luminance": 0.42116
}

Semantic roles & 50–950 ramp

primary
#B8B149
secondary
#9699C7
accent
#5CD454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #B8B149

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

Preview Lab → · Contrast checker → · Palette generator →

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