#B8A04E#B8A04E

#B8A04E is a light, moderate yellow. Relative luminance 0.359; OKLCH L 71.0% C 0.106 H 93.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#B8A04E
RGBrgb(184, 160, 78)
HSLhsl(46, 43%, 51%)
HSVhsv(46, 58%, 72%)
CMYKcmyk(0%, 13%, 57.6%, 27.8%)
CIE-LABlab(66.43, -1.37, 45.29)
CIE-LCHlch(66.43, 45.31, 91.73°)
OKLaboklab(71.02% -0.006 0.1057)
OKLCHoklch(71.02% 0.106 93.2)
XYZxyz(33.7145, 35.8836, 12.3566)
Luminance0.3588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A04E #4E66B8
analogous
#B86B4E #B8A04E #9BB84E
triadic
#B8A04E #4EB8A0 #A04EB8
tetradic
#B8A04E #4EB86B #4E66B8 #B84E9B
square
#B8A04E #4EB86B #4E66B8 #B84E9B
split-complementary
#B8A04E #4E9BB8 #6B4EB8
monochromatic
#645628 #8F7C39 #B8A04E #CAB77A #DBCFA5

Accessibility & contrast

On white

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

On black

8.18
#B8A04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A04E
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A04E#FFFFFF#000000##000000
##B8A04E1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D46
Deuteranopia (green-blind)
#B5A551
Tritanopia (blue-blind)
#C5958E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a04e;
/* rgb */ color: rgb(184, 160, 78);
/* oklch */ color: oklch(71.0% 0.106 93.2);
Tailwind
colors: {
  custom: {
    50: '#d0bb82',
    500: '#b8a04e',
    950: '#000000',
  },
}
SCSS
$custom: #b8a04e;
$custom-light: #d0bb82;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a04e",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 78
  },
  "hsl": {
    "h": 46.415,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.7102,
    "c": 0.10586,
    "h": 93.2
  },
  "luminance": 0.35882
}

Semantic roles & 50–950 ramp

primary
#B8A04E
secondary
#9AA4C8
accent
#72D355
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14110B
muted
#83807C

Preview Lab

Preview with #B8A04E

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

Preview Lab → · Contrast checker → · Palette generator →

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