#B8A849#B8A849

#B8A849 is a light, moderate yellow. Relative luminance 0.387; OKLCH L 72.7% C 0.117 H 99.8°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#B8A849
RGBrgb(184, 168, 73)
HSLhsl(51, 44%, 50%)
HSVhsv(51, 60%, 72%)
CMYKcmyk(0%, 8.7%, 60.3%, 27.8%)
CIE-LABlab(68.52, -6.01, 50.03)
CIE-LCHlch(68.52, 50.39, 96.85°)
OKLaboklab(72.66% -0.0199 0.1152)
OKLCHoklch(72.66% 0.117 99.8)
XYZxyz(34.9737, 38.6781, 11.9254)
Luminance0.3868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A849 #4959B8
analogous
#B87049 #B8A849 #91B849
triadic
#B8A849 #49B8A8 #A849B8
tetradic
#B8A849 #49B870 #4959B8 #B84991
square
#B8A849 #49B870 #4959B8 #B84991
split-complementary
#B8A849 #4991B8 #7049B8
monochromatic
#615826 #8D8037 #B8A849 #C9BD75 #DAD2A1

Accessibility & contrast

On white

2.40
#B8A849 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#B8A849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A849
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A849#FFFFFF#000000##000000
##B8A8491.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A43F
Deuteranopia (green-blind)
#BBAA4E
Tritanopia (blue-blind)
#C59D93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a849;
/* rgb */ color: rgb(184, 168, 73);
/* oklch */ color: oklch(72.7% 0.117 99.8);
Tailwind
colors: {
  custom: {
    50: '#d0c17f',
    500: '#b8a849',
    950: '#000000',
  },
}
SCSS
$custom: #b8a849;
$custom-light: #d0c17f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a849",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 73
  },
  "hsl": {
    "h": 51.351,
    "s": 43.874,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72655,
    "c": 0.11695,
    "h": 99.8
  },
  "luminance": 0.38677
}

Semantic roles & 50–950 ramp

primary
#B8A849
secondary
#969DC7
accent
#67D454
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A849

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

Preview Lab → · Contrast checker → · Palette generator →

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