#B8A647#B8A647

#B8A647 is a light, moderate yellow. Relative luminance 0.379; OKLCH L 72.2% C 0.117 H 98.6°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#B8A647
RGBrgb(184, 166, 71)
HSLhsl(50, 44%, 50%)
HSVhsv(50, 61%, 72%)
CMYKcmyk(0%, 9.8%, 61.4%, 27.8%)
CIE-LABlab(67.96, -5.09, 50.33)
CIE-LCHlch(67.96, 50.59, 95.77°)
OKLaboklab(72.21% -0.0175 0.1156)
OKLCHoklch(72.21% 0.117 98.6)
XYZxyz(34.5421, 37.9192, 11.4597)
Luminance0.3792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A647 #4759B8
analogous
#B86D47 #B8A647 #92B847
triadic
#B8A647 #47B8A6 #A647B8
tetradic
#B8A647 #47B86D #4759B8 #B84792
square
#B8A647 #47B86D #4759B8 #B84792
split-complementary
#B8A647 #4792B8 #6D47B8
monochromatic
#605625 #8C7E36 #B8A647 #C9BB73 #DAD19F

Accessibility & contrast

On white

2.45
#B8A647 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#B8A647 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A647
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A647#FFFFFF#000000##000000
##B8A6471.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23D
Deuteranopia (green-blind)
#BAA84C
Tritanopia (blue-blind)
#C59B91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a647;
/* rgb */ color: rgb(184, 166, 71);
/* oklch */ color: oklch(72.2% 0.117 98.6);
Tailwind
colors: {
  custom: {
    50: '#d0c07e',
    500: '#b8a647',
    950: '#000000',
  },
}
SCSS
$custom: #b8a647;
$custom-light: #d0c07e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a647",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 71
  },
  "hsl": {
    "h": 50.442,
    "s": 44.314,
    "l": 50
  },
  "oklch": {
    "l": 0.72208,
    "c": 0.11694,
    "h": 98.6
  },
  "luminance": 0.37918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8A647

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

Preview Lab → · Contrast checker → · Palette generator →

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