#B8A157#B8A157

#B8A157 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.3% C 0.098 H 92.5°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#B8A157
RGBrgb(184, 161, 87)
HSLhsl(46, 41%, 53%)
HSVhsv(46, 53%, 72%)
CMYKcmyk(0%, 12.5%, 52.7%, 27.8%)
CIE-LABlab(66.80, -1.16, 41.26)
CIE-LCHlch(66.80, 41.28, 91.60°)
OKLaboklab(71.35% -0.0043 0.0978)
OKLCHoklch(71.35% 0.098 92.5)
XYZxyz(34.2336, 36.3698, 14.2318)
Luminance0.3637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A157 #576EB8
analogous
#B87057 #B8A157 #9EB857
triadic
#B8A157 #57B8A1 #A157B8
tetradic
#B8A157 #57B870 #576EB8 #B8579E
square
#B8A157 #57B870 #576EB8 #B8579E
split-complementary
#B8A157 #579EB8 #7057B8
monochromatic
#685A2C #937F3E #B8A157 #CAB982 #DCD1AD

Accessibility & contrast

On white

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

On black

8.27
#B8A157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A157
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A157#FFFFFF#000000##000000
##B8A1571.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9F51
Deuteranopia (green-blind)
#B5A55A
Tritanopia (blue-blind)
#C59790
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b8a157;
/* rgb */ color: rgb(184, 161, 87);
/* oklch */ color: oklch(71.3% 0.098 92.5);
Tailwind
colors: {
  custom: {
    50: '#cfbc88',
    500: '#b8a157',
    950: '#000000',
  },
}
SCSS
$custom: #b8a157;
$custom-light: #cfbc88;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a157",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 87
  },
  "hsl": {
    "h": 45.773,
    "s": 40.586,
    "l": 53.137
  },
  "oklch": {
    "l": 0.71347,
    "c": 0.09793,
    "h": 92.5
  },
  "luminance": 0.36368
}

Semantic roles & 50–950 ramp

primary
#B8A157
secondary
#A0AACA
accent
#74D057
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A157

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

Preview Lab → · Contrast checker → · Palette generator →

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