#B8A529#B8A529

#B8A529 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.8% C 0.137 H 100.1°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#B8A529
RGBrgb(184, 165, 41)
HSLhsl(52, 64%, 44%)
HSVhsv(52, 78%, 72%)
CMYKcmyk(0%, 10.3%, 77.7%, 27.8%)
CIE-LABlab(67.47, -6.18, 61.87)
CIE-LCHlch(67.47, 62.17, 95.70°)
OKLaboklab(71.75% -0.0239 0.1349)
OKLCHoklch(71.75% 0.137 100.1)
XYZxyz(33.6242, 37.2623, 7.5186)
Luminance0.3726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A529 #293CB8
analogous
#B85E29 #B8A529 #84B829
triadic
#B8A529 #29B8A5 #A529B8
tetradic
#B8A529 #29B85E #293CB8 #B82984
square
#B8A529 #29B85E #293CB8 #B82984
split-complementary
#B8A529 #2984B8 #5E29B8
monochromatic
#544B13 #86781E #B8A529 #D6C348 #E1D47A

Accessibility & contrast

On white

2.48
#B8A529 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#B8A529 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A529
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A529#FFFFFF#000000##000000
##B8A5291.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A00B
Deuteranopia (green-blind)
#BBA732
Tritanopia (blue-blind)
#C7988E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a529;
/* rgb */ color: rgb(184, 165, 41);
/* oklch */ color: oklch(71.8% 0.137 100.1);
Tailwind
colors: {
  custom: {
    50: '#d1bf6d',
    500: '#b8a529',
    950: '#000000',
  },
}
SCSS
$custom: #b8a529;
$custom-light: #d1bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a529",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 41
  },
  "hsl": {
    "h": 52.028,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71751,
    "c": 0.13698,
    "h": 100.1
  },
  "luminance": 0.37261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8A529

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

Preview Lab → · Contrast checker → · Palette generator →

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