#B8A456#B8A456

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

Color values

HEX#B8A456
RGBrgb(184, 164, 86)
HSLhsl(48, 41%, 53%)
HSVhsv(48, 53%, 72%)
CMYKcmyk(0%, 10.9%, 53.3%, 27.8%)
CIE-LABlab(67.59, -2.85, 42.70)
CIE-LCHlch(67.59, 42.80, 93.82°)
OKLaboklab(71.96% -0.0093 0.1009)
OKLCHoklch(71.96% 0.101 95.3)
XYZxyz(34.7236, 37.4146, 14.1950)
Luminance0.3741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A456 #566AB8
analogous
#B87356 #B8A456 #9BB856
triadic
#B8A456 #56B8A4 #A456B8
tetradic
#B8A456 #56B873 #566AB8 #B8569B
square
#B8A456 #56B873 #566AB8 #B8569B
split-complementary
#B8A456 #569BB8 #7356B8
monochromatic
#685C2C #93823E #B8A456 #CABB81 #DCD2AC

Accessibility & contrast

On white

2.48
#B8A456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#B8A456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A456
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A456#FFFFFF#000000##000000
##B8A4561.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a456;
/* rgb */ color: rgb(184, 164, 86);
/* oklch */ color: oklch(72.0% 0.101 95.3);
Tailwind
colors: {
  custom: {
    50: '#cfbe88',
    500: '#b8a456',
    950: '#000000',
  },
}
SCSS
$custom: #b8a456;
$custom-light: #cfbe88;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a456",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 86
  },
  "hsl": {
    "h": 47.755,
    "s": 40.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.71964,
    "c": 0.10134,
    "h": 95.3
  },
  "luminance": 0.37413
}

Semantic roles & 50–950 ramp

primary
#B8A456
secondary
#A0A8CA
accent
#70D157
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A456

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

Preview Lab → · Contrast checker → · Palette generator →

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