#B8A048#B8A048

#B8A048 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 71.0% C 0.111 H 94.1°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#B8A048
RGBrgb(184, 160, 72)
HSLhsl(47, 44%, 50%)
HSVhsv(47, 61%, 72%)
CMYKcmyk(0%, 13%, 60.9%, 27.8%)
CIE-LABlab(66.37, -1.81, 48.10)
CIE-LCHlch(66.37, 48.13, 92.16°)
OKLaboklab(70.95% -0.008 0.111)
OKLCHoklch(70.95% 0.111 94.1)
XYZxyz(33.5091, 35.8015, 11.2750)
Luminance0.3580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A048 #4860B8
analogous
#B86848 #B8A048 #98B848
triadic
#B8A048 #48B8A0 #A048B8
tetradic
#B8A048 #48B868 #4860B8 #B84898
square
#B8A048 #48B868 #4860B8 #B84898
split-complementary
#B8A048 #4898B8 #6848B8
monochromatic
#605425 #8C7A36 #B8A048 #C9B774 #DACEA0

Accessibility & contrast

On white

2.57
#B8A048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#B8A048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A048
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A048#FFFFFF#000000##000000
##B8A0481.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3F
Deuteranopia (green-blind)
#B5A44C
Tritanopia (blue-blind)
#C6958D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a048;
/* rgb */ color: rgb(184, 160, 72);
/* oklch */ color: oklch(71.0% 0.111 94.1);
Tailwind
colors: {
  custom: {
    50: '#d0bb7e',
    500: '#b8a048',
    950: '#000000',
  },
}
SCSS
$custom: #b8a048;
$custom-light: #d0bb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a048",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 72
  },
  "hsl": {
    "h": 47.143,
    "s": 44.094,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7095,
    "c": 0.11127,
    "h": 94.1
  },
  "luminance": 0.358
}

Semantic roles & 50–950 ramp

primary
#B8A048
secondary
#95A0C7
accent
#6FD454
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14110A
muted
#83807C

Preview Lab

Preview with #B8A048

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

Preview Lab → · Contrast checker → · Palette generator →

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