#B8A254#B8A254

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

Color values

HEX#B8A254
RGBrgb(184, 162, 84)
HSLhsl(47, 41%, 53%)
HSVhsv(47, 54%, 72%)
CMYKcmyk(0%, 12%, 54.3%, 27.8%)
CIE-LABlab(67.03, -1.95, 43.04)
CIE-LCHlch(67.03, 43.08, 92.60°)
OKLaboklab(71.52% -0.007 0.1015)
OKLCHoklch(71.52% 0.102 93.9)
XYZxyz(34.2890, 36.6726, 13.6582)
Luminance0.3667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A254 #546AB8
analogous
#B87054 #B8A254 #9CB854
triadic
#B8A254 #54B8A2 #A254B8
tetradic
#B8A254 #54B870 #546AB8 #B8549C
square
#B8A254 #54B870 #546AB8 #B8549C
split-complementary
#B8A254 #549CB8 #7054B8
monochromatic
#675A2B #927F3D #B8A254 #CABA7F #DCD1AA

Accessibility & contrast

On white

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

On black

8.33
#B8A254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A254
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A254#FFFFFF#000000##000000
##B8A2541.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a254;
/* rgb */ color: rgb(184, 162, 84);
/* oklch */ color: oklch(71.5% 0.102 93.9);
Tailwind
colors: {
  custom: {
    50: '#d0bd86',
    500: '#b8a254',
    950: '#000000',
  },
}
SCSS
$custom: #b8a254;
$custom-light: #d0bd86;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a254",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 84
  },
  "hsl": {
    "h": 46.8,
    "s": 41.322,
    "l": 52.549
  },
  "oklch": {
    "l": 0.71516,
    "c": 0.10169,
    "h": 93.9
  },
  "luminance": 0.36671
}

Semantic roles & 50–950 ramp

primary
#B8A254
secondary
#9EA8CA
accent
#72D157
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A254

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

Preview Lab → · Contrast checker → · Palette generator →

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