#B9A729#B9A729

#B9A729 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.3% C 0.139 H 100.7°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#B9A729
RGBrgb(185, 167, 41)
HSLhsl(53, 64%, 44%)
HSVhsv(53, 78%, 73%)
CMYKcmyk(0%, 9.7%, 77.8%, 27.5%)
CIE-LABlab(68.10, -6.79, 62.48)
CIE-LCHlch(68.10, 62.84, 96.20°)
OKLaboklab(72.27% -0.0257 0.1361)
OKLCHoklch(72.27% 0.139 100.7)
XYZxyz(34.2282, 38.1135, 7.6511)
Luminance0.3811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A729 #293BB9
analogous
#B95F29 #B9A729 #83B929
triadic
#B9A729 #29B9A7 #A729B9
tetradic
#B9A729 #29B95F #293BB9 #B92983
square
#B9A729 #29B95F #293BB9 #B92983
split-complementary
#B9A729 #2983B9 #5F29B9
monochromatic
#554D13 #877A1E #B9A729 #D7C549 #E2D57B

Accessibility & contrast

On white

2.44
#B9A729 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#B9A729 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A729
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A729#FFFFFF#000000##000000
##B9A7291.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A209
Deuteranopia (green-blind)
#BCA932
Tritanopia (blue-blind)
#C89A8F
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b9a729;
/* rgb */ color: rgb(185, 167, 41);
/* oklch */ color: oklch(72.3% 0.139 100.7);
Tailwind
colors: {
  custom: {
    50: '#d2c06e',
    500: '#b9a729',
    950: '#000000',
  },
}
SCSS
$custom: #b9a729;
$custom-light: #d2c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a729",
  "rgb": {
    "r": 185,
    "g": 167,
    "b": 41
  },
  "hsl": {
    "h": 52.5,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72274,
    "c": 0.13854,
    "h": 100.7
  },
  "luminance": 0.38112
}

Semantic roles & 50–950 ramp

primary
#B9A729
secondary
#747FCA
accent
#56E741
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #B9A729

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

Preview Lab → · Contrast checker → · Palette generator →

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