#B8A047#B8A047

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

Color values

HEX#B8A047
RGBrgb(184, 160, 71)
HSLhsl(47, 44%, 50%)
HSVhsv(47, 61%, 72%)
CMYKcmyk(0%, 13%, 61.4%, 27.8%)
CIE-LABlab(66.36, -1.89, 48.55)
CIE-LCHlch(66.36, 48.59, 92.22°)
OKLaboklab(70.94% -0.0083 0.1118)
OKLCHoklch(70.94% 0.112 94.3)
XYZxyz(33.4768, 35.7885, 11.1046)
Luminance0.3579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A047 #475FB8
analogous
#B86847 #B8A047 #97B847
triadic
#B8A047 #47B8A0 #A047B8
tetradic
#B8A047 #47B868 #475FB8 #B84797
square
#B8A047 #47B868 #475FB8 #B84797
split-complementary
#B8A047 #4797B8 #6847B8
monochromatic
#605325 #8C7A36 #B8A047 #C9B773 #DACE9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A047#FFFFFF#000000##000000
##B8A0471.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)
#AF9D3E
Deuteranopia (green-blind)
#B5A44B
Tritanopia (blue-blind)
#C6958D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a047;
/* rgb */ color: rgb(184, 160, 71);
/* oklch */ color: oklch(70.9% 0.112 94.3);
Tailwind
colors: {
  custom: {
    50: '#d0bb7e',
    500: '#b8a047',
    950: '#000000',
  },
}
SCSS
$custom: #b8a047;
$custom-light: #d0bb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a047",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 71
  },
  "hsl": {
    "h": 47.257,
    "s": 44.314,
    "l": 50
  },
  "oklch": {
    "l": 0.70939,
    "c": 0.11213,
    "h": 94.3
  },
  "luminance": 0.35787
}

Semantic roles & 50–950 ramp

primary
#B8A047
secondary
#949FC7
accent
#6FD454
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14110A
muted
#83807C

Preview Lab

Preview with #B8A047

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

Preview Lab → · Contrast checker → · Palette generator →

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