#B8A429#B8A429

#B8A429 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.5% C 0.136 H 99.5°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#B8A429
RGBrgb(184, 164, 41)
HSLhsl(52, 64%, 44%)
HSVhsv(52, 78%, 72%)
CMYKcmyk(0%, 10.9%, 77.7%, 27.8%)
CIE-LABlab(67.20, -5.65, 61.62)
CIE-LCHlch(67.20, 61.88, 95.24°)
OKLaboklab(71.54% -0.0224 0.1344)
OKLCHoklch(71.54% 0.136 99.5)
XYZxyz(33.4445, 36.9030, 7.4588)
Luminance0.3690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A429 #293DB8
analogous
#B85C29 #B8A429 #85B829
triadic
#B8A429 #29B8A4 #A429B8
tetradic
#B8A429 #29B85C #293DB8 #B82985
square
#B8A429 #29B85C #293DB8 #B82985
split-complementary
#B8A429 #2985B8 #5C29B8
monochromatic
#544B13 #86771E #B8A429 #D6C248 #E1D37A

Accessibility & contrast

On white

2.51
#B8A429 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#B8A429 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A429
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A429#FFFFFF#000000##000000
##B8A4291.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F0C
Deuteranopia (green-blind)
#BAA732
Tritanopia (blue-blind)
#C7978D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a429;
/* rgb */ color: rgb(184, 164, 41);
/* oklch */ color: oklch(71.5% 0.136 99.5);
Tailwind
colors: {
  custom: {
    50: '#d1be6d',
    500: '#b8a429',
    950: '#000000',
  },
}
SCSS
$custom: #b8a429;
$custom-light: #d1be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a429",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 41
  },
  "hsl": {
    "h": 51.608,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71538,
    "c": 0.13621,
    "h": 99.5
  },
  "luminance": 0.36901
}

Semantic roles & 50–950 ramp

primary
#B8A429
secondary
#737FC9
accent
#58E741
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #B8A429

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

Preview Lab → · Contrast checker → · Palette generator →

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