#B9A429#B9A429

#B9A429 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.136 H 99.0°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B9A429
RGBrgb(185, 164, 41)
HSLhsl(51, 64%, 44%)
HSVhsv(51, 78%, 73%)
CMYKcmyk(0%, 11.4%, 77.8%, 27.5%)
CIE-LABlab(67.30, -5.20, 61.74)
CIE-LCHlch(67.30, 61.96, 94.82°)
OKLaboklab(71.63% -0.0213 0.1346)
OKLCHoklch(71.63% 0.136 99)
XYZxyz(33.6850, 37.0270, 7.4700)
Luminance0.3703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A429 #293EB9
analogous
#B95C29 #B9A429 #86B929
triadic
#B9A429 #29B9A4 #A429B9
tetradic
#B9A429 #29B95C #293EB9 #B92986
square
#B9A429 #29B95C #293EB9 #B92986
split-complementary
#B9A429 #2986B9 #5C29B9
monochromatic
#554B13 #87781E #B9A429 #D7C249 #E2D37B

Accessibility & contrast

On white

2.50
#B9A429 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B9A429 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A429
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A429#FFFFFF#000000##000000
##B9A4291.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9a429;
/* rgb */ color: rgb(185, 164, 41);
/* oklch */ color: oklch(71.6% 0.136 99.0);
Tailwind
colors: {
  custom: {
    50: '#d2be6d',
    500: '#b9a429',
    950: '#000000',
  },
}
SCSS
$custom: #b9a429;
$custom-light: #d2be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a429",
  "rgb": {
    "r": 185,
    "g": 164,
    "b": 41
  },
  "hsl": {
    "h": 51.25,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71633,
    "c": 0.13623,
    "h": 99
  },
  "luminance": 0.37025
}

Semantic roles & 50–950 ramp

primary
#B9A429
secondary
#7481CA
accent
#59E741
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #B9A429

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

Preview Lab → · Contrast checker → · Palette generator →

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