#B8A45A#B8A45A

#B8A45A is a light, moderate yellow. Relative luminance 0.375; OKLCH L 72.0% C 0.097 H 94.6°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#B8A45A
RGBrgb(184, 164, 90)
HSLhsl(47, 40%, 54%)
HSVhsv(47, 51%, 72%)
CMYKcmyk(0%, 10.9%, 51.1%, 27.8%)
CIE-LABlab(67.64, -2.50, 40.75)
CIE-LCHlch(67.64, 40.83, 93.51°)
OKLaboklab(72.02% -0.0078 0.097)
OKLCHoklch(72.02% 0.097 94.6)
XYZxyz(34.8893, 37.4809, 15.0676)
Luminance0.3748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A45A #5A6EB8
analogous
#B8755A #B8A45A #9DB85A
triadic
#B8A45A #5AB8A4 #A45AB8
tetradic
#B8A45A #5AB875 #5A6EB8 #B85A9D
square
#B8A45A #5AB875 #5A6EB8 #B85A9D
split-complementary
#B8A45A #5A9DB8 #755AB8
monochromatic
#6A5D2E #958340 #B8A45A #CABC85 #DDD3B0

Accessibility & contrast

On white

2.47
#B8A45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#B8A45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A45A
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A45A#FFFFFF#000000##000000
##B8A45A1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A154
Deuteranopia (green-blind)
#B7A75D
Tritanopia (blue-blind)
#C49A93
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a45a;
/* rgb */ color: rgb(184, 164, 90);
/* oklch */ color: oklch(72.0% 0.097 94.6);
Tailwind
colors: {
  custom: {
    50: '#cfbe8a',
    500: '#b8a45a',
    950: '#000000',
  },
}
SCSS
$custom: #b8a45a;
$custom-light: #cfbe8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a45a",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 90
  },
  "hsl": {
    "h": 47.234,
    "s": 39.831,
    "l": 53.725
  },
  "oklch": {
    "l": 0.72019,
    "c": 0.0973,
    "h": 94.6
  },
  "luminance": 0.37479
}

Semantic roles & 50–950 ramp

primary
#B8A45A
secondary
#A3ABCB
accent
#72D058
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #B8A45A

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

Preview Lab → · Contrast checker → · Palette generator →

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