#B8A457#B8A457

#B8A457 is a light, moderate yellow. Relative luminance 0.374; OKLCH L 72.0% C 0.100 H 95.1°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#B8A457
RGBrgb(184, 164, 87)
HSLhsl(48, 41%, 53%)
HSVhsv(48, 53%, 72%)
CMYKcmyk(0%, 10.9%, 52.7%, 27.8%)
CIE-LABlab(67.60, -2.77, 42.22)
CIE-LCHlch(67.60, 42.31, 93.75°)
OKLaboklab(71.98% -0.009 0.0999)
OKLCHoklch(71.98% 0.1 95.1)
XYZxyz(34.7641, 37.4309, 14.4087)
Luminance0.3743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A457 #576BB8
analogous
#B87357 #B8A457 #9BB857
triadic
#B8A457 #57B8A4 #A457B8
tetradic
#B8A457 #57B873 #576BB8 #B8579B
square
#B8A457 #57B873 #576BB8 #B8579B
split-complementary
#B8A457 #579BB8 #7357B8
monochromatic
#685C2C #93823E #B8A457 #CABB82 #DCD3AD

Accessibility & contrast

On white

2.47
#B8A457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#B8A457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A457
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A457#FFFFFF#000000##000000
##B8A4571.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A150
Deuteranopia (green-blind)
#B7A75A
Tritanopia (blue-blind)
#C59A92
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a457;
/* rgb */ color: rgb(184, 164, 87);
/* oklch */ color: oklch(72.0% 0.100 95.1);
Tailwind
colors: {
  custom: {
    50: '#cfbe88',
    500: '#b8a457',
    950: '#000000',
  },
}
SCSS
$custom: #b8a457;
$custom-light: #cfbe88;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a457",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 87
  },
  "hsl": {
    "h": 47.629,
    "s": 40.586,
    "l": 53.137
  },
  "oklch": {
    "l": 0.71977,
    "c": 0.10034,
    "h": 95.1
  },
  "luminance": 0.37429
}

Semantic roles & 50–950 ramp

primary
#B8A457
secondary
#A0A9CA
accent
#70D057
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A457

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

Preview Lab → · Contrast checker → · Palette generator →

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