#B8A929#B8A929

#B8A929 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.6% C 0.140 H 102.3°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#B8A929
RGBrgb(184, 169, 41)
HSLhsl(54, 64%, 44%)
HSVhsv(54, 78%, 72%)
CMYKcmyk(0%, 8.2%, 77.7%, 27.8%)
CIE-LABlab(68.55, -8.28, 62.85)
CIE-LCHlch(68.55, 63.39, 97.51°)
OKLaboklab(72.61% -0.0299 0.137)
OKLCHoklch(72.61% 0.14 102.3)
XYZxyz(34.3570, 38.7279, 7.7629)
Luminance0.3873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A929 #2938B8
analogous
#B86129 #B8A929 #80B829
triadic
#B8A929 #29B8A9 #A929B8
tetradic
#B8A929 #29B861 #2938B8 #B82980
square
#B8A929 #29B861 #2938B8 #B82980
split-complementary
#B8A929 #2980B8 #6129B8
monochromatic
#544D13 #867B1E #B8A929 #D6C748 #E1D77A

Accessibility & contrast

On white

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

On black

8.75
#B8A929 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A929
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A929#FFFFFF#000000##000000
##B8A9291.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A408
Deuteranopia (green-blind)
#BEAA33
Tritanopia (blue-blind)
#C69D91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a929;
/* rgb */ color: rgb(184, 169, 41);
/* oklch */ color: oklch(72.6% 0.140 102.3);
Tailwind
colors: {
  custom: {
    50: '#d1c26e',
    500: '#b8a929',
    950: '#000000',
  },
}
SCSS
$custom: #b8a929;
$custom-light: #d1c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a929",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 41
  },
  "hsl": {
    "h": 53.706,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72609,
    "c": 0.1402,
    "h": 102.3
  },
  "luminance": 0.38726
}

Semantic roles & 50–950 ramp

primary
#B8A929
secondary
#737CC9
accent
#53E741
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A929

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

Preview Lab → · Contrast checker → · Palette generator →

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