#B8AA29#B8AA29

#B8AA29 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.8% C 0.141 H 102.8°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#B8AA29
RGBrgb(184, 170, 41)
HSLhsl(54, 64%, 44%)
HSVhsv(54, 78%, 72%)
CMYKcmyk(0%, 7.6%, 77.7%, 27.8%)
CIE-LABlab(68.82, -8.81, 63.10)
CIE-LCHlch(68.82, 63.71, 97.94°)
OKLaboklab(72.82% -0.0313 0.1375)
OKLCHoklch(72.82% 0.141 102.8)
XYZxyz(34.5437, 39.1014, 7.8252)
Luminance0.3910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8AA29 #2937B8
analogous
#B86329 #B8AA29 #7FB829
triadic
#B8AA29 #29B8AA #AA29B8
tetradic
#B8AA29 #29B863 #2937B8 #B8297F
square
#B8AA29 #29B863 #2937B8 #B8297F
split-complementary
#B8AA29 #297FB8 #6329B8
monochromatic
#544E13 #867C1E #B8AA29 #D6C848 #E1D77A

Accessibility & contrast

On white

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

On black

8.82
#B8AA29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8AA29
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8AA29#FFFFFF#000000##000000
##B8AA291.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA407
Deuteranopia (green-blind)
#BEAB33
Tritanopia (blue-blind)
#C69E92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8aa29;
/* rgb */ color: rgb(184, 170, 41);
/* oklch */ color: oklch(72.8% 0.141 102.8);
Tailwind
colors: {
  custom: {
    50: '#d1c26e',
    500: '#b8aa29',
    950: '#000000',
  },
}
SCSS
$custom: #b8aa29;
$custom-light: #d1c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8aa29",
  "rgb": {
    "r": 184,
    "g": 170,
    "b": 41
  },
  "hsl": {
    "h": 54.126,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72824,
    "c": 0.14103,
    "h": 102.8
  },
  "luminance": 0.391
}

Semantic roles & 50–950 ramp

primary
#B8AA29
secondary
#737CC9
accent
#51E741
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B8AA29

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

Preview Lab → · Contrast checker → · Palette generator →

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