#B8A158#B8A158

#B8A158 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.4% C 0.097 H 92.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B8A158
RGBrgb(184, 161, 88)
HSLhsl(46, 40%, 53%)
HSVhsv(46, 52%, 72%)
CMYKcmyk(0%, 12.5%, 52.2%, 27.8%)
CIE-LABlab(66.81, -1.07, 40.77)
CIE-LCHlch(66.81, 40.78, 91.50°)
OKLaboklab(71.36% -0.0039 0.0969)
OKLCHoklch(71.36% 0.097 92.3)
XYZxyz(34.2747, 36.3862, 14.4485)
Luminance0.3639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A158 #586FB8
analogous
#B87158 #B8A158 #9FB858
triadic
#B8A158 #58B8A1 #A158B8
tetradic
#B8A158 #58B871 #586FB8 #B8589F
square
#B8A158 #58B871 #586FB8 #B8589F
split-complementary
#B8A158 #589FB8 #7158B8
monochromatic
#695B2D #94803F #B8A158 #CAB983 #DDD1AE

Accessibility & contrast

On white

2.54
#B8A158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#B8A158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A158
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A158#FFFFFF#000000##000000
##B8A1581.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F52
Deuteranopia (green-blind)
#B5A55B
Tritanopia (blue-blind)
#C59790
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a158;
/* rgb */ color: rgb(184, 161, 88);
/* oklch */ color: oklch(71.4% 0.097 92.3);
Tailwind
colors: {
  custom: {
    50: '#cfbc89',
    500: '#b8a158',
    950: '#000000',
  },
}
SCSS
$custom: #b8a158;
$custom-light: #cfbc89;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a158",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 88
  },
  "hsl": {
    "h": 45.625,
    "s": 40.336,
    "l": 53.333
  },
  "oklch": {
    "l": 0.71361,
    "c": 0.09693,
    "h": 92.3
  },
  "luminance": 0.36385
}

Semantic roles & 50–950 ramp

primary
#B8A158
secondary
#A1ABCB
accent
#74D058
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A158

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

Preview Lab → · Contrast checker → · Palette generator →

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