#B8A84A#B8A84A

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

Color values

HEX#B8A84A
RGBrgb(184, 168, 74)
HSLhsl(51, 44%, 51%)
HSVhsv(51, 60%, 72%)
CMYKcmyk(0%, 8.7%, 59.8%, 27.8%)
CIE-LABlab(68.53, -5.93, 49.58)
CIE-LCHlch(68.53, 49.93, 96.83°)
OKLaboklab(72.67% -0.0196 0.1144)
OKLCHoklch(72.67% 0.116 99.7)
XYZxyz(35.0072, 38.6915, 12.1015)
Luminance0.3869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A84A #4A5AB8
analogous
#B8714A #B8A84A #91B84A
triadic
#B8A84A #4AB8A8 #A84AB8
tetradic
#B8A84A #4AB871 #4A5AB8 #B84A91
square
#B8A84A #4AB871 #4A5AB8 #B84A91
split-complementary
#B8A84A #4A91B8 #714AB8
monochromatic
#615926 #8D8137 #B8A84A #C9BD76 #DAD2A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A84A#FFFFFF#000000##000000
##B8A84A1.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)
#B7A440
Deuteranopia (green-blind)
#BBAA4F
Tritanopia (blue-blind)
#C59D93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a84a;
/* rgb */ color: rgb(184, 168, 74);
/* oklch */ color: oklch(72.7% 0.116 99.7);
Tailwind
colors: {
  custom: {
    50: '#d0c180',
    500: '#b8a84a',
    950: '#000000',
  },
}
SCSS
$custom: #b8a84a;
$custom-light: #d0c180;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a84a",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 74
  },
  "hsl": {
    "h": 51.273,
    "s": 43.651,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72666,
    "c": 0.11608,
    "h": 99.7
  },
  "luminance": 0.3869
}

Semantic roles & 50–950 ramp

primary
#B8A84A
secondary
#969EC7
accent
#67D354
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A84A

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

Preview Lab → · Contrast checker → · Palette generator →

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