#B8A35A#B8A35A

#B8A35A is a light, moderate yellow. Relative luminance 0.371; OKLCH L 71.8% C 0.096 H 93.7°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B8A35A
RGBrgb(184, 163, 90)
HSLhsl(47, 40%, 54%)
HSVhsv(47, 51%, 72%)
CMYKcmyk(0%, 11.4%, 51.1%, 27.8%)
CIE-LABlab(67.37, -1.96, 40.43)
CIE-LCHlch(67.37, 40.48, 92.78°)
OKLaboklab(71.81% -0.0063 0.0963)
OKLCHoklch(71.81% 0.096 93.7)
XYZxyz(34.7110, 37.1244, 15.0082)
Luminance0.3712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A35A #5A6FB8
analogous
#B8745A #B8A35A #9EB85A
triadic
#B8A35A #5AB8A3 #A35AB8
tetradic
#B8A35A #5AB874 #5A6FB8 #B85A9E
square
#B8A35A #5AB874 #5A6FB8 #B85A9E
split-complementary
#B8A35A #5A9EB8 #745AB8
monochromatic
#6A5D2E #958240 #B8A35A #CABB85 #DDD3B0

Accessibility & contrast

On white

2.49
#B8A35A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B8A35A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A35A
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A35A#FFFFFF#000000##000000
##B8A35A1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A054
Deuteranopia (green-blind)
#B6A75D
Tritanopia (blue-blind)
#C59992
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a35a;
/* rgb */ color: rgb(184, 163, 90);
/* oklch */ color: oklch(71.8% 0.096 93.7);
Tailwind
colors: {
  custom: {
    50: '#cfbe8a',
    500: '#b8a35a',
    950: '#000000',
  },
}
SCSS
$custom: #b8a35a;
$custom-light: #cfbe8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a35a",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 90
  },
  "hsl": {
    "h": 46.596,
    "s": 39.831,
    "l": 53.725
  },
  "oklch": {
    "l": 0.71808,
    "c": 0.09648,
    "h": 93.7
  },
  "luminance": 0.37123
}

Semantic roles & 50–950 ramp

primary
#B8A35A
secondary
#A3ACCB
accent
#73D058
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #B8A35A

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

Preview Lab → · Contrast checker → · Palette generator →

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