#B8A35B#B8A35B

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

Color values

HEX#B8A35B
RGBrgb(184, 163, 91)
HSLhsl(46, 40%, 54%)
HSVhsv(46, 51%, 72%)
CMYKcmyk(0%, 11.4%, 50.5%, 27.8%)
CIE-LABlab(67.38, -1.87, 39.94)
CIE-LCHlch(67.38, 39.98, 92.68°)
OKLaboklab(71.82% -0.0059 0.0953)
OKLCHoklch(71.82% 0.095 93.6)
XYZxyz(34.7539, 37.1415, 15.2339)
Luminance0.3714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A35B #5B70B8
analogous
#B8755B #B8A35B #9FB85B
triadic
#B8A35B #5BB8A3 #A35BB8
tetradic
#B8A35B #5BB875 #5B70B8 #B85B9F
square
#B8A35B #5BB875 #5B70B8 #B85B9F
split-complementary
#B8A35B #5B9FB8 #755BB8
monochromatic
#6A5D2E #958241 #B8A35B #CABB86 #DDD3B0

Accessibility & contrast

On white

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

On black

8.43
#B8A35B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A35B
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A35B#FFFFFF#000000##000000
##B8A35B1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A055
Deuteranopia (green-blind)
#B6A75E
Tritanopia (blue-blind)
#C49992
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a35b;
/* rgb */ color: rgb(184, 163, 91);
/* oklch */ color: oklch(71.8% 0.095 93.6);
Tailwind
colors: {
  custom: {
    50: '#cfbe8b',
    500: '#b8a35b',
    950: '#000000',
  },
}
SCSS
$custom: #b8a35b;
$custom-light: #cfbe8b;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a35b",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 91
  },
  "hsl": {
    "h": 46.452,
    "s": 39.574,
    "l": 53.922
  },
  "oklch": {
    "l": 0.71823,
    "c": 0.09545,
    "h": 93.6
  },
  "luminance": 0.3714
}

Semantic roles & 50–950 ramp

primary
#B8A35B
secondary
#A4ADCB
accent
#73CF58
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #B8A35B

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

Preview Lab → · Contrast checker → · Palette generator →

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