#B8A548#B8A548

#B8A548 is a light, moderate yellow. Relative luminance 0.376; OKLCH L 72.0% C 0.115 H 97.8°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#B8A548
RGBrgb(184, 165, 72)
HSLhsl(50, 44%, 50%)
HSVhsv(50, 61%, 72%)
CMYKcmyk(0%, 10.3%, 60.9%, 27.8%)
CIE-LABlab(67.70, -4.49, 49.59)
CIE-LCHlch(67.70, 49.79, 95.17°)
OKLaboklab(72.01% -0.0157 0.1142)
OKLCHoklch(72.01% 0.115 97.8)
XYZxyz(34.3934, 37.5700, 11.5697)
Luminance0.3757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A548 #485BB8
analogous
#B86D48 #B8A548 #93B848
triadic
#B8A548 #48B8A5 #A548B8
tetradic
#B8A548 #48B86D #485BB8 #B84893
square
#B8A548 #48B86D #485BB8 #B84893
split-complementary
#B8A548 #4893B8 #6D48B8
monochromatic
#605625 #8C7E36 #B8A548 #C9BB74 #DAD0A0

Accessibility & contrast

On white

2.47
#B8A548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#B8A548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A548
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A548#FFFFFF#000000##000000
##B8A5481.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A13E
Deuteranopia (green-blind)
#B9A84D
Tritanopia (blue-blind)
#C59A91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a548;
/* rgb */ color: rgb(184, 165, 72);
/* oklch */ color: oklch(72.0% 0.115 97.8);
Tailwind
colors: {
  custom: {
    50: '#d0bf7f',
    500: '#b8a548',
    950: '#000000',
  },
}
SCSS
$custom: #b8a548;
$custom-light: #d0bf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a548",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 72
  },
  "hsl": {
    "h": 49.821,
    "s": 44.094,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72006,
    "c": 0.11523,
    "h": 97.8
  },
  "luminance": 0.37568
}

Semantic roles & 50–950 ramp

primary
#B8A548
secondary
#959DC7
accent
#6AD454
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A548

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

Preview Lab → · Contrast checker → · Palette generator →

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