#B8A747#B8A747

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

Color values

HEX#B8A747
RGBrgb(184, 167, 71)
HSLhsl(51, 44%, 50%)
HSVhsv(51, 61%, 72%)
CMYKcmyk(0%, 9.2%, 61.4%, 27.8%)
CIE-LABlab(68.23, -5.62, 50.63)
CIE-LCHlch(68.23, 50.94, 96.33°)
OKLaboklab(72.42% -0.0191 0.1163)
OKLCHoklch(72.42% 0.118 99.3)
XYZxyz(34.7246, 38.2842, 11.5205)
Luminance0.3828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A747 #4758B8
analogous
#B86E47 #B8A747 #91B847
triadic
#B8A747 #47B8A7 #A747B8
tetradic
#B8A747 #47B86E #4758B8 #B84791
square
#B8A747 #47B86E #4758B8 #B84791
split-complementary
#B8A747 #4791B8 #6E47B8
monochromatic
#605725 #8C7F36 #B8A747 #C9BC73 #DAD19F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A747#FFFFFF#000000##000000
##B8A7471.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)
#B6A33C
Deuteranopia (green-blind)
#BBA94C
Tritanopia (blue-blind)
#C59C92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a747;
/* rgb */ color: rgb(184, 167, 71);
/* oklch */ color: oklch(72.4% 0.118 99.3);
Tailwind
colors: {
  custom: {
    50: '#d0c07e',
    500: '#b8a747',
    950: '#000000',
  },
}
SCSS
$custom: #b8a747;
$custom-light: #d0c07e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a747",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 71
  },
  "hsl": {
    "h": 50.973,
    "s": 44.314,
    "l": 50
  },
  "oklch": {
    "l": 0.72421,
    "c": 0.1178,
    "h": 99.3
  },
  "luminance": 0.38283
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8A747

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

Preview Lab → · Contrast checker → · Palette generator →

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