#B8A349#B8A349

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

Color values

HEX#B8A349
RGBrgb(184, 163, 73)
HSLhsl(49, 44%, 50%)
HSVhsv(49, 60%, 72%)
CMYKcmyk(0%, 11.4%, 60.3%, 27.8%)
CIE-LABlab(67.18, -3.35, 48.53)
CIE-LCHlch(67.18, 48.65, 93.95°)
OKLaboklab(71.59% -0.0123 0.112)
OKLCHoklch(71.59% 0.113 96.3)
XYZxyz(34.0684, 36.8673, 11.6236)
Luminance0.3687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A349 #495EB8
analogous
#B86B49 #B8A349 #95B849
triadic
#B8A349 #49B8A3 #A349B8
tetradic
#B8A349 #49B86B #495EB8 #B84995
square
#B8A349 #49B86B #495EB8 #B84995
split-complementary
#B8A349 #4995B8 #6B49B8
monochromatic
#615626 #8D7D37 #B8A349 #C9B975 #DAD0A1

Accessibility & contrast

On white

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

On black

8.37
#B8A349 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A349
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A349#FFFFFF#000000##000000
##B8A3491.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A040
Deuteranopia (green-blind)
#B7A64D
Tritanopia (blue-blind)
#C6988F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a349;
/* rgb */ color: rgb(184, 163, 73);
/* oklch */ color: oklch(71.6% 0.113 96.3);
Tailwind
colors: {
  custom: {
    50: '#d0be7f',
    500: '#b8a349',
    950: '#000000',
  },
}
SCSS
$custom: #b8a349;
$custom-light: #d0be7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a349",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 73
  },
  "hsl": {
    "h": 48.649,
    "s": 43.874,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71594,
    "c": 0.11271,
    "h": 96.3
  },
  "luminance": 0.36866
}

Semantic roles & 50–950 ramp

primary
#B8A349
secondary
#969FC7
accent
#6CD454
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A349

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

Preview Lab → · Contrast checker → · Palette generator →

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