#B4A529#B4A529

#B4A529 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.4% C 0.137 H 102.1°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#B4A529
RGBrgb(180, 165, 41)
HSLhsl(54, 63%, 43%)
HSVhsv(54, 77%, 71%)
CMYKcmyk(0%, 8.3%, 77.2%, 29.4%)
CIE-LABlab(67.11, -7.94, 61.40)
CIE-LCHlch(67.11, 61.91, 97.37°)
OKLaboklab(71.37% -0.0287 0.1341)
OKLCHoklch(71.37% 0.137 102.1)
XYZxyz(32.6793, 36.7751, 7.4744)
Luminance0.3677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A529 #2938B4
analogous
#B45F29 #B4A529 #7DB429
triadic
#B4A529 #29B4A5 #A529B4
tetradic
#B4A529 #29B45F #2938B4 #B4297D
square
#B4A529 #29B45F #2938B4 #B4297D
split-complementary
#B4A529 #297DB4 #5F29B4
monochromatic
#504A12 #82771E #B4A529 #D5C545 #E0D577

Accessibility & contrast

On white

2.51
#B4A529 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#B4A529 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A529
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A529#FFFFFF#000000##000000
##B4A5291.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A00B
Deuteranopia (green-blind)
#B9A632
Tritanopia (blue-blind)
#C2998E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b4a529;
/* rgb */ color: rgb(180, 165, 41);
/* oklch */ color: oklch(71.4% 0.137 102.1);
Tailwind
colors: {
  custom: {
    50: '#cebf6d',
    500: '#b4a529',
    950: '#000000',
  },
}
SCSS
$custom: #b4a529;
$custom-light: #cebf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a529",
  "rgb": {
    "r": 180,
    "g": 165,
    "b": 41
  },
  "hsl": {
    "h": 53.525,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71374,
    "c": 0.13709,
    "h": 102.1
  },
  "luminance": 0.36774
}

Semantic roles & 50–950 ramp

primary
#B4A529
secondary
#717AC8
accent
#54E642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A529

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

Preview Lab → · Contrast checker → · Palette generator →

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