#B8A557#B8A557

#B8A557 is a light, moderate yellow. Relative luminance 0.378; OKLCH L 72.2% C 0.101 H 96.0°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#B8A557
RGBrgb(184, 165, 87)
HSLhsl(48, 41%, 53%)
HSVhsv(48, 53%, 72%)
CMYKcmyk(0%, 10.3%, 52.7%, 27.8%)
CIE-LABlab(67.87, -3.30, 42.54)
CIE-LCHlch(67.87, 42.66, 94.44°)
OKLaboklab(72.19% -0.0105 0.1006)
OKLCHoklch(72.19% 0.101 96)
XYZxyz(34.9438, 37.7902, 14.4686)
Luminance0.3779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A557 #576AB8
analogous
#B87457 #B8A557 #9BB857
triadic
#B8A557 #57B8A5 #A557B8
tetradic
#B8A557 #57B874 #576AB8 #B8579B
square
#B8A557 #57B874 #576AB8 #B8579B
split-complementary
#B8A557 #579BB8 #7457B8
monochromatic
#685D2C #93833E #B8A557 #CABC82 #DCD3AD

Accessibility & contrast

On white

2.45
#B8A557 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#B8A557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A557
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A557#FFFFFF#000000##000000
##B8A5571.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A250
Deuteranopia (green-blind)
#B8A85A
Tritanopia (blue-blind)
#C59B93
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a557;
/* rgb */ color: rgb(184, 165, 87);
/* oklch */ color: oklch(72.2% 0.101 96.0);
Tailwind
colors: {
  custom: {
    50: '#cfbf88',
    500: '#b8a557',
    950: '#000000',
  },
}
SCSS
$custom: #b8a557;
$custom-light: #cfbf88;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a557",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 87
  },
  "hsl": {
    "h": 48.247,
    "s": 40.586,
    "l": 53.137
  },
  "oklch": {
    "l": 0.72188,
    "c": 0.10119,
    "h": 96
  },
  "luminance": 0.37789
}

Semantic roles & 50–950 ramp

primary
#B8A557
secondary
#A0A9CA
accent
#6FD057
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A557

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

Preview Lab → · Contrast checker → · Palette generator →

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