#B7A129#B7A129

#B7A129 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.134 H 98.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B7A129
RGBrgb(183, 161, 41)
HSLhsl(51, 63%, 44%)
HSVhsv(51, 78%, 72%)
CMYKcmyk(0%, 12%, 77.6%, 28.2%)
CIE-LABlab(66.30, -4.50, 60.76)
CIE-LCHlch(66.30, 60.93, 94.23°)
OKLaboklab(70.8% -0.0191 0.1326)
OKLCHoklch(70.8% 0.134 98.2)
XYZxyz(32.6752, 35.7188, 7.2707)
Luminance0.3572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A129 #293FB7
analogous
#B75A29 #B7A129 #86B729
triadic
#B7A129 #29B7A1 #A129B7
tetradic
#B7A129 #29B75A #293FB7 #B72986
square
#B7A129 #29B75A #293FB7 #B72986
split-complementary
#B7A129 #2986B7 #5A29B7
monochromatic
#534913 #85751E #B7A129 #D6C047 #E1D179

Accessibility & contrast

On white

2.58
#B7A129 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B7A129 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A129
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A129#FFFFFF#000000##000000
##B7A1291.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D0E
Deuteranopia (green-blind)
#B7A431
Tritanopia (blue-blind)
#C6948A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b7a129;
/* rgb */ color: rgb(183, 161, 41);
/* oklch */ color: oklch(70.8% 0.134 98.2);
Tailwind
colors: {
  custom: {
    50: '#d1bc6d',
    500: '#b7a129',
    950: '#000000',
  },
}
SCSS
$custom: #b7a129;
$custom-light: #d1bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a129",
  "rgb": {
    "r": 183,
    "g": 161,
    "b": 41
  },
  "hsl": {
    "h": 50.704,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.70802,
    "c": 0.13393,
    "h": 98.2
  },
  "luminance": 0.35717
}

Semantic roles & 50–950 ramp

primary
#B7A129
secondary
#7380C9
accent
#5BE641
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #B7A129

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

Preview Lab → · Contrast checker → · Palette generator →

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