#B8A34A#B8A34A

#B8A34A is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.6% C 0.112 H 96.1°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#B8A34A
RGBrgb(184, 163, 74)
HSLhsl(49, 44%, 51%)
HSVhsv(49, 60%, 72%)
CMYKcmyk(0%, 11.4%, 59.8%, 27.8%)
CIE-LABlab(67.19, -3.28, 48.07)
CIE-LCHlch(67.19, 48.19, 93.90°)
OKLaboklab(71.6% -0.012 0.1112)
OKLCHoklch(71.6% 0.112 96.1)
XYZxyz(34.1018, 36.8807, 11.7997)
Luminance0.3688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A34A #4A5FB8
analogous
#B86C4A #B8A34A #96B84A
triadic
#B8A34A #4AB8A3 #A34AB8
tetradic
#B8A34A #4AB86C #4A5FB8 #B84A96
square
#B8A34A #4AB86C #4A5FB8 #B84A96
split-complementary
#B8A34A #4A96B8 #6C4AB8
monochromatic
#615626 #8D7D37 #B8A34A #C9B976 #DAD0A2

Accessibility & contrast

On white

2.51
#B8A34A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#B8A34A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A34A
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A34A#FFFFFF#000000##000000
##B8A34A1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A041
Deuteranopia (green-blind)
#B7A64E
Tritanopia (blue-blind)
#C5988F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a34a;
/* rgb */ color: rgb(184, 163, 74);
/* oklch */ color: oklch(71.6% 0.112 96.1);
Tailwind
colors: {
  custom: {
    50: '#d0be80',
    500: '#b8a34a',
    950: '#000000',
  },
}
SCSS
$custom: #b8a34a;
$custom-light: #d0be80;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a34a",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 74
  },
  "hsl": {
    "h": 48.545,
    "s": 43.651,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71605,
    "c": 0.11183,
    "h": 96.1
  },
  "luminance": 0.36879
}

Semantic roles & 50–950 ramp

primary
#B8A34A
secondary
#96A0C7
accent
#6DD354
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A34A

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

Preview Lab → · Contrast checker → · Palette generator →

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