#B8A159#B8A159

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

Color values

HEX#B8A159
RGBrgb(184, 161, 89)
HSLhsl(45, 40%, 54%)
HSVhsv(45, 52%, 72%)
CMYKcmyk(0%, 12.5%, 51.6%, 27.8%)
CIE-LABlab(66.83, -0.98, 40.28)
CIE-LCHlch(66.83, 40.29, 91.39°)
OKLaboklab(71.38% -0.0035 0.0959)
OKLCHoklch(71.38% 0.096 92.1)
XYZxyz(34.3164, 36.4029, 14.6681)
Luminance0.3640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A159 #5970B8
analogous
#B87159 #B8A159 #9FB859
triadic
#B8A159 #59B8A1 #A159B8
tetradic
#B8A159 #59B871 #5970B8 #B8599F
square
#B8A159 #59B871 #5970B8 #B8599F
split-complementary
#B8A159 #599FB8 #7159B8
monochromatic
#695B2D #94803F #B8A159 #CAB984 #DDD2AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A159#FFFFFF#000000##000000
##B8A1591.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)
#AF9F53
Deuteranopia (green-blind)
#B5A55C
Tritanopia (blue-blind)
#C59790
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a159;
/* rgb */ color: rgb(184, 161, 89);
/* oklch */ color: oklch(71.4% 0.096 92.1);
Tailwind
colors: {
  custom: {
    50: '#cfbc89',
    500: '#b8a159',
    950: '#000000',
  },
}
SCSS
$custom: #b8a159;
$custom-light: #cfbc89;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a159",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 89
  },
  "hsl": {
    "h": 45.474,
    "s": 40.084,
    "l": 53.529
  },
  "oklch": {
    "l": 0.71375,
    "c": 0.09592,
    "h": 92.1
  },
  "luminance": 0.36401
}

Semantic roles & 50–950 ramp

primary
#B8A159
secondary
#A2ACCB
accent
#75D058
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #B8A159

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

Preview Lab → · Contrast checker → · Palette generator →

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