#B8A256#B8A256

#B8A256 is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.5% C 0.100 H 93.6°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B8A256
RGBrgb(184, 162, 86)
HSLhsl(47, 41%, 53%)
HSVhsv(47, 53%, 72%)
CMYKcmyk(0%, 12%, 53.3%, 27.8%)
CIE-LABlab(67.05, -1.78, 42.07)
CIE-LCHlch(67.05, 42.11, 92.42°)
OKLaboklab(71.54% -0.0062 0.0995)
OKLCHoklch(71.54% 0.1 93.6)
XYZxyz(34.3685, 36.7044, 14.0766)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A256 #566CB8
analogous
#B87156 #B8A256 #9DB856
triadic
#B8A256 #56B8A2 #A256B8
tetradic
#B8A256 #56B871 #566CB8 #B8569D
square
#B8A256 #56B871 #566CB8 #B8569D
split-complementary
#B8A256 #569DB8 #7156B8
monochromatic
#685A2C #93803E #B8A256 #CABA81 #DCD1AC

Accessibility & contrast

On white

2.52
#B8A256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#B8A256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A256
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A256#FFFFFF#000000##000000
##B8A2561.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F4F
Deuteranopia (green-blind)
#B6A659
Tritanopia (blue-blind)
#C59890
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a256;
/* rgb */ color: rgb(184, 162, 86);
/* oklch */ color: oklch(71.5% 0.100 93.6);
Tailwind
colors: {
  custom: {
    50: '#cfbd87',
    500: '#b8a256',
    950: '#000000',
  },
}
SCSS
$custom: #b8a256;
$custom-light: #cfbd87;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a256",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 86
  },
  "hsl": {
    "h": 46.531,
    "s": 40.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.71543,
    "c": 0.09971,
    "h": 93.6
  },
  "luminance": 0.36703
}

Semantic roles & 50–950 ramp

primary
#B8A256
secondary
#A0A9CA
accent
#72D157
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A256

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

Preview Lab → · Contrast checker → · Palette generator →

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