#B9A529#B9A529

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

Color values

HEX#B9A529
RGBrgb(185, 165, 41)
HSLhsl(52, 64%, 44%)
HSVhsv(52, 78%, 73%)
CMYKcmyk(0%, 10.8%, 77.8%, 27.5%)
CIE-LABlab(67.57, -5.73, 61.99)
CIE-LCHlch(67.57, 62.25, 95.28°)
OKLaboklab(71.85% -0.0227 0.1351)
OKLCHoklch(71.85% 0.137 99.6)
XYZxyz(33.8647, 37.3863, 7.5299)
Luminance0.3739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A529 #293DB9
analogous
#B95D29 #B9A529 #85B929
triadic
#B9A529 #29B9A5 #A529B9
tetradic
#B9A529 #29B95D #293DB9 #B92985
square
#B9A529 #29B95D #293DB9 #B92985
split-complementary
#B9A529 #2985B9 #5D29B9
monochromatic
#554C13 #87781E #B9A529 #D7C349 #E2D37B

Accessibility & contrast

On white

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

On black

8.48
#B9A529 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A529
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A529#FFFFFF#000000##000000
##B9A5291.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A00B
Deuteranopia (green-blind)
#BBA832
Tritanopia (blue-blind)
#C8988E
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b9a529;
/* rgb */ color: rgb(185, 165, 41);
/* oklch */ color: oklch(71.8% 0.137 99.6);
Tailwind
colors: {
  custom: {
    50: '#d2bf6d',
    500: '#b9a529',
    950: '#000000',
  },
}
SCSS
$custom: #b9a529;
$custom-light: #d2bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a529",
  "rgb": {
    "r": 185,
    "g": 165,
    "b": 41
  },
  "hsl": {
    "h": 51.667,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71846,
    "c": 0.13698,
    "h": 99.6
  },
  "luminance": 0.37385
}

Semantic roles & 50–950 ramp

primary
#B9A529
secondary
#7480CA
accent
#58E741
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #B9A529

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

Preview Lab → · Contrast checker → · Palette generator →

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