#B8B34A#B8B34A

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

Color values

HEX#B8B34A
RGBrgb(184, 179, 74)
HSLhsl(57, 44%, 51%)
HSVhsv(57, 60%, 72%)
CMYKcmyk(0%, 2.7%, 59.8%, 27.8%)
CIE-LABlab(71.50, -11.68, 52.88)
CIE-LCHlch(71.50, 54.15, 102.46°)
OKLaboklab(75.03% -0.036 0.1214)
OKLCHoklch(75.03% 0.127 106.5)
XYZxyz(37.1245, 42.9261, 12.8072)
Luminance0.4293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B34A #4A4FB8
analogous
#B87C4A #B8B34A #86B84A
triadic
#B8B34A #4AB8B3 #B34AB8
tetradic
#B8B34A #4AB87C #4A4FB8 #B84A86
square
#B8B34A #4AB87C #4A4FB8 #B84A86
split-complementary
#B8B34A #4A86B8 #7C4AB8
monochromatic
#615F26 #8D8937 #B8B34A #C9C576 #DAD8A2

Accessibility & contrast

On white

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

On black

9.58
#B8B34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B34A
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B34A#FFFFFF#000000##000000
##B8B34A1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD3E
Deuteranopia (green-blind)
#C3B150
Tritanopia (blue-blind)
#C4A89C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b34a;
/* rgb */ color: rgb(184, 179, 74);
/* oklch */ color: oklch(75.0% 0.127 106.5);
Tailwind
colors: {
  custom: {
    50: '#d0c981',
    500: '#b8b34a',
    950: '#000000',
  },
}
SCSS
$custom: #b8b34a;
$custom-light: #d0c981;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b34a",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 74
  },
  "hsl": {
    "h": 57.273,
    "s": 43.651,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75032,
    "c": 0.12667,
    "h": 106.5
  },
  "luminance": 0.42925
}

Semantic roles & 50–950 ramp

primary
#B8B34A
secondary
#9699C7
accent
#5AD354
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #B8B34A

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

Preview Lab → · Contrast checker → · Palette generator →

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