#B8A64A#B8A64A

#B8A64A is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.2% C 0.114 H 98.3°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#B8A64A
RGBrgb(184, 166, 74)
HSLhsl(50, 44%, 51%)
HSVhsv(50, 60%, 72%)
CMYKcmyk(0%, 9.8%, 59.8%, 27.8%)
CIE-LABlab(67.99, -4.87, 48.98)
CIE-LCHlch(67.99, 49.22, 95.68°)
OKLaboklab(72.24% -0.0166 0.1131)
OKLCHoklch(72.24% 0.114 98.3)
XYZxyz(34.6408, 37.9587, 11.9793)
Luminance0.3796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A64A #4A5CB8
analogous
#B86F4A #B8A64A #93B84A
triadic
#B8A64A #4AB8A6 #A64AB8
tetradic
#B8A64A #4AB86F #4A5CB8 #B84A93
square
#B8A64A #4AB86F #4A5CB8 #B84A93
split-complementary
#B8A64A #4A93B8 #6F4AB8
monochromatic
#615826 #8D7F37 #B8A64A #C9BC76 #DAD1A2

Accessibility & contrast

On white

2.44
#B8A64A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#B8A64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A64A
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A64A#FFFFFF#000000##000000
##B8A64A1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A240
Deuteranopia (green-blind)
#BAA84E
Tritanopia (blue-blind)
#C59B92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a64a;
/* rgb */ color: rgb(184, 166, 74);
/* oklch */ color: oklch(72.2% 0.114 98.3);
Tailwind
colors: {
  custom: {
    50: '#d0c080',
    500: '#b8a64a',
    950: '#000000',
  },
}
SCSS
$custom: #b8a64a;
$custom-light: #d0c080;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a64a",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 74
  },
  "hsl": {
    "h": 50.182,
    "s": 43.651,
    "l": 50.588
  },
  "oklch": {
    "l": 0.7224,
    "c": 0.11433,
    "h": 98.3
  },
  "luminance": 0.37957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8A64A

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

Preview Lab → · Contrast checker → · Palette generator →

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