#B8A94B#B8A94B

#B8A94B is a light, moderate yellow. Relative luminance 0.391; OKLCH L 72.9% C 0.116 H 100.3°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#B8A94B
RGBrgb(184, 169, 75)
HSLhsl(52, 43%, 51%)
HSVhsv(52, 59%, 72%)
CMYKcmyk(0%, 8.2%, 59.2%, 27.8%)
CIE-LABlab(68.81, -6.39, 49.43)
CIE-LCHlch(68.81, 49.84, 97.37°)
OKLaboklab(72.89% -0.0208 0.1142)
OKLCHoklch(72.89% 0.116 100.3)
XYZxyz(35.2264, 39.0757, 12.3421)
Luminance0.3907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A94B #4B5AB8
analogous
#B8724B #B8A94B #90B84B
triadic
#B8A94B #4BB8A9 #A94BB8
tetradic
#B8A94B #4BB872 #4B5AB8 #B84B90
square
#B8A94B #4BB872 #4B5AB8 #B84B90
split-complementary
#B8A94B #4B90B8 #724BB8
monochromatic
#625A27 #8E8238 #B8A94B #C9BE77 #DBD3A3

Accessibility & contrast

On white

2.38
#B8A94B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#B8A94B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A94B
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A94B#FFFFFF#000000##000000
##B8A94B1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A541
Deuteranopia (green-blind)
#BCAA50
Tritanopia (blue-blind)
#C59E94
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8a94b;
/* rgb */ color: rgb(184, 169, 75);
/* oklch */ color: oklch(72.9% 0.116 100.3);
Tailwind
colors: {
  custom: {
    50: '#d0c281',
    500: '#b8a94b',
    950: '#000000',
  },
}
SCSS
$custom: #b8a94b;
$custom-light: #d0c281;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a94b",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 75
  },
  "hsl": {
    "h": 51.743,
    "s": 43.426,
    "l": 50.784
  },
  "oklch": {
    "l": 0.7289,
    "c": 0.11609,
    "h": 100.3
  },
  "luminance": 0.39074
}

Semantic roles & 50–950 ramp

primary
#B8A94B
secondary
#979EC8
accent
#66D355
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A94B

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

Preview Lab → · Contrast checker → · Palette generator →

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