#B8A146#B8A146

#B8A146 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.1% C 0.114 H 95.1°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#B8A146
RGBrgb(184, 161, 70)
HSLhsl(48, 45%, 50%)
HSVhsv(48, 62%, 72%)
CMYKcmyk(0%, 12.5%, 62%, 27.8%)
CIE-LABlab(66.61, -2.49, 49.30)
CIE-LCHlch(66.61, 49.37, 92.89°)
OKLaboklab(71.14% -0.0102 0.1133)
OKLCHoklch(71.14% 0.114 95.1)
XYZxyz(33.6190, 36.1239, 10.9950)
Luminance0.3612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A146 #465DB8
analogous
#B86846 #B8A146 #96B846
triadic
#B8A146 #46B8A1 #A146B8
tetradic
#B8A146 #46B868 #465DB8 #B84696
square
#B8A146 #46B868 #465DB8 #B84696
split-complementary
#B8A146 #4696B8 #6846B8
monochromatic
#5F5324 #8C7A35 #B8A146 #C9B872 #DACE9E

Accessibility & contrast

On white

2.55
#B8A146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#B8A146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A146
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A146#FFFFFF#000000##000000
##B8A1461.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E3C
Deuteranopia (green-blind)
#B6A54A
Tritanopia (blue-blind)
#C6968D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b8a146;
/* rgb */ color: rgb(184, 161, 70);
/* oklch */ color: oklch(71.1% 0.114 95.1);
Tailwind
colors: {
  custom: {
    50: '#d0bc7d',
    500: '#b8a146',
    950: '#000000',
  },
}
SCSS
$custom: #b8a146;
$custom-light: #d0bc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a146",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 70
  },
  "hsl": {
    "h": 47.895,
    "s": 44.882,
    "l": 49.804
  },
  "oklch": {
    "l": 0.71139,
    "c": 0.11375,
    "h": 95.1
  },
  "luminance": 0.36122
}

Semantic roles & 50–950 ramp

primary
#B8A146
secondary
#939EC7
accent
#6DD553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A146

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

Preview Lab → · Contrast checker → · Palette generator →

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