#B8A140#B8A140

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

Color values

HEX#B8A140
RGBrgb(184, 161, 64)
HSLhsl(49, 48%, 49%)
HSVhsv(49, 65%, 72%)
CMYKcmyk(0%, 12.5%, 65.2%, 27.8%)
CIE-LABlab(66.56, -2.89, 51.97)
CIE-LCHlch(66.56, 52.05, 93.18°)
OKLaboklab(71.08% -0.0121 0.1181)
OKLCHoklch(71.08% 0.119 95.8)
XYZxyz(33.4390, 36.0519, 10.0469)
Luminance0.3605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A140 #4057B8
analogous
#B86540 #B8A140 #93B840
triadic
#B8A140 #40B8A1 #A140B8
tetradic
#B8A140 #40B865 #4057B8 #B84093
square
#B8A140 #40B865 #4057B8 #B84093
split-complementary
#B8A140 #4093B8 #6540B8
monochromatic
#5D5220 #8B7930 #B8A140 #CBB96A #DBCE97

Accessibility & contrast

On white

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

On black

8.21
#B8A140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A140
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A140#FFFFFF#000000##000000
##B8A1401.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E34
Deuteranopia (green-blind)
#B7A545
Tritanopia (blue-blind)
#C6958C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b8a140;
/* rgb */ color: rgb(184, 161, 64);
/* oklch */ color: oklch(71.1% 0.119 95.8);
Tailwind
colors: {
  custom: {
    50: '#d0bc79',
    500: '#b8a140',
    950: '#000000',
  },
}
SCSS
$custom: #b8a140;
$custom-light: #d0bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a140",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 64
  },
  "hsl": {
    "h": 48.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71078,
    "c": 0.11869,
    "h": 95.8
  },
  "luminance": 0.3605
}

Semantic roles & 50–950 ramp

primary
#B8A140
secondary
#8D98C7
accent
#6AD850
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A140

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

Preview Lab → · Contrast checker → · Palette generator →

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