#B8A145#B8A145

#B8A145 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.1% C 0.115 H 95.3°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#B8A145
RGBrgb(184, 161, 69)
HSLhsl(48, 45%, 50%)
HSVhsv(48, 63%, 72%)
CMYKcmyk(0%, 12.5%, 62.5%, 27.8%)
CIE-LABlab(66.61, -2.56, 49.76)
CIE-LCHlch(66.61, 49.82, 92.95°)
OKLaboklab(71.13% -0.0105 0.1141)
OKLCHoklch(71.13% 0.115 95.3)
XYZxyz(33.5877, 36.1114, 10.8301)
Luminance0.3611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A145 #455CB8
analogous
#B86845 #B8A145 #96B845
triadic
#B8A145 #45B8A1 #A145B8
tetradic
#B8A145 #45B868 #455CB8 #B84596
square
#B8A145 #45B868 #455CB8 #B84596
split-complementary
#B8A145 #4596B8 #6845B8
monochromatic
#5F5324 #8B7A34 #B8A145 #CAB871 #DACE9D

Accessibility & contrast

On white

2.55
#B8A145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#B8A145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A145
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A145#FFFFFF#000000##000000
##B8A1451.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E3B
Deuteranopia (green-blind)
#B6A549
Tritanopia (blue-blind)
#C6968D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b8a145;
/* rgb */ color: rgb(184, 161, 69);
/* oklch */ color: oklch(71.1% 0.115 95.3);
Tailwind
colors: {
  custom: {
    50: '#d0bc7c',
    500: '#b8a145',
    950: '#000000',
  },
}
SCSS
$custom: #b8a145;
$custom-light: #d0bc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a145",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 69
  },
  "hsl": {
    "h": 48,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71128,
    "c": 0.11459,
    "h": 95.3
  },
  "luminance": 0.3611
}

Semantic roles & 50–950 ramp

primary
#B8A145
secondary
#929DC7
accent
#6DD553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A145

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

Preview Lab → · Contrast checker → · Palette generator →

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