#B8B249#B8B249

#B8B249 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.8% C 0.127 H 106.0°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#B8B249
RGBrgb(184, 178, 73)
HSLhsl(57, 44%, 50%)
HSVhsv(57, 60%, 72%)
CMYKcmyk(0%, 3.3%, 60.3%, 27.8%)
CIE-LABlab(71.22, -11.24, 53.02)
CIE-LCHlch(71.22, 54.19, 101.97°)
OKLaboklab(74.8% -0.0349 0.1216)
OKLCHoklch(74.8% 0.127 106)
XYZxyz(36.8914, 42.5134, 12.5646)
Luminance0.4251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B249 #494FB8
analogous
#B87A49 #B8B249 #86B849
triadic
#B8B249 #49B8B2 #B249B8
tetradic
#B8B249 #49B87A #494FB8 #B84986
square
#B8B249 #49B87A #494FB8 #B84986
split-complementary
#B8B249 #4986B8 #7A49B8
monochromatic
#615E26 #8D8837 #B8B249 #C9C575 #DAD7A1

Accessibility & contrast

On white

2.21
#B8B249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#B8B249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B249
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B249#FFFFFF#000000##000000
##B8B2491.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC3D
Deuteranopia (green-blind)
#C3B04F
Tritanopia (blue-blind)
#C5A79C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8b249;
/* rgb */ color: rgb(184, 178, 73);
/* oklch */ color: oklch(74.8% 0.127 106.0);
Tailwind
colors: {
  custom: {
    50: '#d0c880',
    500: '#b8b249',
    950: '#000000',
  },
}
SCSS
$custom: #b8b249;
$custom-light: #d0c880;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b249",
  "rgb": {
    "r": 184,
    "g": 178,
    "b": 73
  },
  "hsl": {
    "h": 56.757,
    "s": 43.874,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74805,
    "c": 0.1265,
    "h": 106
  },
  "luminance": 0.42512
}

Semantic roles & 50–950 ramp

primary
#B8B249
secondary
#9698C7
accent
#5BD454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #B8B249

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

Preview Lab → · Contrast checker → · Palette generator →

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