#B8A148#B8A148

#B8A148 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.2% C 0.112 H 94.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B8A148
RGBrgb(184, 161, 72)
HSLhsl(48, 44%, 50%)
HSVhsv(48, 61%, 72%)
CMYKcmyk(0%, 12.5%, 60.9%, 27.8%)
CIE-LABlab(66.63, -2.35, 48.39)
CIE-LCHlch(66.63, 48.45, 92.78°)
OKLaboklab(71.16% -0.0096 0.1116)
OKLCHoklch(71.16% 0.112 94.9)
XYZxyz(33.6832, 36.1496, 11.3330)
Luminance0.3615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A148 #485FB8
analogous
#B86948 #B8A148 #97B848
triadic
#B8A148 #48B8A1 #A148B8
tetradic
#B8A148 #48B869 #485FB8 #B84897
square
#B8A148 #48B869 #485FB8 #B84897
split-complementary
#B8A148 #4897B8 #6948B8
monochromatic
#605425 #8C7B36 #B8A148 #C9B874 #DACEA0

Accessibility & contrast

On white

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

On black

8.23
#B8A148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A148
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A148#FFFFFF#000000##000000
##B8A1481.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a148;
/* rgb */ color: rgb(184, 161, 72);
/* oklch */ color: oklch(71.2% 0.112 94.9);
Tailwind
colors: {
  custom: {
    50: '#d0bc7e',
    500: '#b8a148',
    950: '#000000',
  },
}
SCSS
$custom: #b8a148;
$custom-light: #d0bc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a148",
  "rgb": {
    "r": 184,
    "g": 161,
    "b": 72
  },
  "hsl": {
    "h": 47.679,
    "s": 44.094,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71161,
    "c": 0.11202,
    "h": 94.9
  },
  "luminance": 0.36148
}

Semantic roles & 50–950 ramp

primary
#B8A148
secondary
#959FC7
accent
#6ED454
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A148

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

Preview Lab → · Contrast checker → · Palette generator →

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