#B8A057#B8A057

#B8A057 is a light, moderate yellow. Relative luminance 0.360; OKLCH L 71.1% C 0.097 H 91.6°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#B8A057
RGBrgb(184, 160, 87)
HSLhsl(45, 41%, 53%)
HSVhsv(45, 53%, 72%)
CMYKcmyk(0%, 13%, 52.7%, 27.8%)
CIE-LABlab(66.54, -0.62, 40.94)
CIE-LCHlch(66.54, 40.95, 90.86°)
OKLaboklab(71.14% -0.0027 0.0971)
OKLCHoklch(71.14% 0.097 91.6)
XYZxyz(34.0595, 36.0217, 14.1738)
Luminance0.3602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A057 #576FB8
analogous
#B86F57 #B8A057 #9FB857
triadic
#B8A057 #57B8A0 #A057B8
tetradic
#B8A057 #57B86F #576FB8 #B8579F
square
#B8A057 #57B86F #576FB8 #B8579F
split-complementary
#B8A057 #579FB8 #6F57B8
monochromatic
#685A2C #937E3E #B8A057 #CAB882 #DCD1AD

Accessibility & contrast

On white

2.56
#B8A057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#B8A057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A057
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A057#FFFFFF#000000##000000
##B8A0571.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E51
Deuteranopia (green-blind)
#B4A55A
Tritanopia (blue-blind)
#C5968F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b8a057;
/* rgb */ color: rgb(184, 160, 87);
/* oklch */ color: oklch(71.1% 0.097 91.6);
Tailwind
colors: {
  custom: {
    50: '#cfbb88',
    500: '#b8a057',
    950: '#000000',
  },
}
SCSS
$custom: #b8a057;
$custom-light: #cfbb88;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a057",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 87
  },
  "hsl": {
    "h": 45.155,
    "s": 40.586,
    "l": 53.137
  },
  "oklch": {
    "l": 0.71138,
    "c": 0.09718,
    "h": 91.6
  },
  "luminance": 0.3602
}

Semantic roles & 50–950 ramp

primary
#B8A057
secondary
#A0ABCA
accent
#75D057
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14110B
muted
#83807C

Preview Lab

Preview with #B8A057

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

Preview Lab → · Contrast checker → · Palette generator →

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