#B8A748#B8A748

#B8A748 is a light, moderate yellow. Relative luminance 0.383; OKLCH L 72.4% C 0.117 H 99.2°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#B8A748
RGBrgb(184, 167, 72)
HSLhsl(51, 44%, 50%)
HSVhsv(51, 61%, 72%)
CMYKcmyk(0%, 9.2%, 60.9%, 27.8%)
CIE-LABlab(68.24, -5.55, 50.18)
CIE-LCHlch(68.24, 50.49, 96.31°)
OKLaboklab(72.43% -0.0187 0.1154)
OKLCHoklch(72.43% 0.117 99.2)
XYZxyz(34.7570, 38.2971, 11.6909)
Luminance0.3830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A748 #4859B8
analogous
#B86F48 #B8A748 #91B848
triadic
#B8A748 #48B8A7 #A748B8
tetradic
#B8A748 #48B86F #4859B8 #B84891
square
#B8A748 #48B86F #4859B8 #B84891
split-complementary
#B8A748 #4891B8 #6F48B8
monochromatic
#605725 #8C7F36 #B8A748 #C9BC74 #DAD1A0

Accessibility & contrast

On white

2.43
#B8A748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#B8A748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A748
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A748#FFFFFF#000000##000000
##B8A7481.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A33E
Deuteranopia (green-blind)
#BAA94D
Tritanopia (blue-blind)
#C59C92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a748;
/* rgb */ color: rgb(184, 167, 72);
/* oklch */ color: oklch(72.4% 0.117 99.2);
Tailwind
colors: {
  custom: {
    50: '#d0c07f',
    500: '#b8a748',
    950: '#000000',
  },
}
SCSS
$custom: #b8a748;
$custom-light: #d0c07f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a748",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 72
  },
  "hsl": {
    "h": 50.893,
    "s": 44.094,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72431,
    "c": 0.11694,
    "h": 99.2
  },
  "luminance": 0.38296
}

Semantic roles & 50–950 ramp

primary
#B8A748
secondary
#959CC7
accent
#67D454
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A748

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

Preview Lab → · Contrast checker → · Palette generator →

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