#B4A729#B4A729

#B4A729 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.8% C 0.139 H 103.2°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#B4A729
RGBrgb(180, 167, 41)
HSLhsl(54, 63%, 43%)
HSVhsv(54, 77%, 71%)
CMYKcmyk(0%, 7.2%, 77.2%, 29.4%)
CIE-LABlab(67.65, -9.00, 61.90)
CIE-LCHlch(67.65, 62.55, 98.27°)
OKLaboklab(71.81% -0.0317 0.1351)
OKLCHoklch(71.81% 0.139 103.2)
XYZxyz(33.0429, 37.5023, 7.5955)
Luminance0.3750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A729 #2936B4
analogous
#B46129 #B4A729 #7CB429
triadic
#B4A729 #29B4A7 #A729B4
tetradic
#B4A729 #29B461 #2936B4 #B4297C
square
#B4A729 #29B461 #2936B4 #B4297C
split-complementary
#B4A729 #297CB4 #6129B4
monochromatic
#504B12 #82791E #B4A729 #D5C745 #E0D677

Accessibility & contrast

On white

2.47
#B4A729 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#B4A729 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A729
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A729#FFFFFF#000000##000000
##B4A7291.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A10A
Deuteranopia (green-blind)
#BBA733
Tritanopia (blue-blind)
#C29B8F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b4a729;
/* rgb */ color: rgb(180, 167, 41);
/* oklch */ color: oklch(71.8% 0.139 103.2);
Tailwind
colors: {
  custom: {
    50: '#cec06d',
    500: '#b4a729',
    950: '#000000',
  },
}
SCSS
$custom: #b4a729;
$custom-light: #cec06d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a729",
  "rgb": {
    "r": 180,
    "g": 167,
    "b": 41
  },
  "hsl": {
    "h": 54.388,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71807,
    "c": 0.13877,
    "h": 103.2
  },
  "luminance": 0.37501
}

Semantic roles & 50–950 ramp

primary
#B4A729
secondary
#7179C8
accent
#51E642
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A729

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

Preview Lab → · Contrast checker → · Palette generator →

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