#B8A04B#B8A04B

#B8A04B is a light, moderate yellow. Relative luminance 0.358; OKLCH L 71.0% C 0.109 H 93.7°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#B8A04B
RGBrgb(184, 160, 75)
HSLhsl(47, 43%, 51%)
HSVhsv(47, 59%, 72%)
CMYKcmyk(0%, 13%, 59.2%, 27.8%)
CIE-LABlab(66.40, -1.60, 46.70)
CIE-LCHlch(66.40, 46.73, 91.96°)
OKLaboklab(70.98% -0.007 0.1084)
OKLCHoklch(70.98% 0.109 93.7)
XYZxyz(33.6094, 35.8416, 11.8030)
Luminance0.3584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A04B #4B63B8
analogous
#B8694B #B8A04B #99B84B
triadic
#B8A04B #4BB8A0 #A04BB8
tetradic
#B8A04B #4BB869 #4B63B8 #B84B99
square
#B8A04B #4BB869 #4B63B8 #B84B99
split-complementary
#B8A04B #4B99B8 #694BB8
monochromatic
#625527 #8E7B38 #B8A04B #C9B777 #DBCEA3

Accessibility & contrast

On white

2.57
#B8A04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#B8A04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A04B
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A04B#FFFFFF#000000##000000
##B8A04B1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D42
Deuteranopia (green-blind)
#B5A54F
Tritanopia (blue-blind)
#C6958D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a04b;
/* rgb */ color: rgb(184, 160, 75);
/* oklch */ color: oklch(71.0% 0.109 93.7);
Tailwind
colors: {
  custom: {
    50: '#d0bb80',
    500: '#b8a04b',
    950: '#000000',
  },
}
SCSS
$custom: #b8a04b;
$custom-light: #d0bb80;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a04b",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 75
  },
  "hsl": {
    "h": 46.789,
    "s": 43.426,
    "l": 50.784
  },
  "oklch": {
    "l": 0.70984,
    "c": 0.10861,
    "h": 93.7
  },
  "luminance": 0.3584
}

Semantic roles & 50–950 ramp

primary
#B8A04B
secondary
#97A2C8
accent
#70D355
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14110A
muted
#83807C

Preview Lab

Preview with #B8A04B

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

Preview Lab → · Contrast checker → · Palette generator →

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