#B8A347#B8A347

#B8A347 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.6% C 0.114 H 96.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#B8A347
RGBrgb(184, 163, 71)
HSLhsl(49, 44%, 50%)
HSVhsv(49, 61%, 72%)
CMYKcmyk(0%, 11.4%, 61.4%, 27.8%)
CIE-LABlab(67.16, -3.49, 49.44)
CIE-LCHlch(67.16, 49.57, 94.04°)
OKLaboklab(71.57% -0.013 0.1137)
OKLCHoklch(71.57% 0.114 96.5)
XYZxyz(34.0031, 36.8413, 11.2800)
Luminance0.3684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A347 #475CB8
analogous
#B86B47 #B8A347 #94B847
triadic
#B8A347 #47B8A3 #A347B8
tetradic
#B8A347 #47B86B #475CB8 #B84794
square
#B8A347 #47B86B #475CB8 #B84794
split-complementary
#B8A347 #4794B8 #6B47B8
monochromatic
#605525 #8C7C36 #B8A347 #C9B973 #DACF9F

Accessibility & contrast

On white

2.51
#B8A347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#B8A347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A347
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A347#FFFFFF#000000##000000
##B8A3471.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F3D
Deuteranopia (green-blind)
#B8A64B
Tritanopia (blue-blind)
#C6988F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a347;
/* rgb */ color: rgb(184, 163, 71);
/* oklch */ color: oklch(71.6% 0.114 96.5);
Tailwind
colors: {
  custom: {
    50: '#d0be7e',
    500: '#b8a347',
    950: '#000000',
  },
}
SCSS
$custom: #b8a347;
$custom-light: #d0be7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a347",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 71
  },
  "hsl": {
    "h": 48.85,
    "s": 44.314,
    "l": 50
  },
  "oklch": {
    "l": 0.71572,
    "c": 0.11446,
    "h": 96.5
  },
  "luminance": 0.3684
}

Semantic roles & 50–950 ramp

primary
#B8A347
secondary
#949DC7
accent
#6CD454
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A347

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

Preview Lab → · Contrast checker → · Palette generator →

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