#B4AA29#B4AA29

#B4AA29 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.5% C 0.141 H 104.8°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#B4AA29
RGBrgb(180, 170, 41)
HSLhsl(56, 63%, 43%)
HSVhsv(56, 77%, 71%)
CMYKcmyk(0%, 5.6%, 77.2%, 29.4%)
CIE-LABlab(68.47, -10.56, 62.64)
CIE-LCHlch(68.47, 63.53, 99.57°)
OKLaboklab(72.46% -0.0361 0.1367)
OKLCHoklch(72.46% 0.141 104.8)
XYZxyz(33.5988, 38.6142, 7.7809)
Luminance0.3861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AA29 #2933B4
analogous
#B46429 #B4AA29 #79B429
triadic
#B4AA29 #29B4AA #AA29B4
tetradic
#B4AA29 #29B464 #2933B4 #B42979
square
#B4AA29 #29B464 #2933B4 #B42979
split-complementary
#B4AA29 #2979B4 #6429B4
monochromatic
#504C12 #827B1E #B4AA29 #D5CA45 #E0D977

Accessibility & contrast

On white

2.41
#B4AA29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#B4AA29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AA29
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AA29#FFFFFF#000000##000000
##B4AA291.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A407
Deuteranopia (green-blind)
#BDA933
Tritanopia (blue-blind)
#C29E92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b4aa29;
/* rgb */ color: rgb(180, 170, 41);
/* oklch */ color: oklch(72.5% 0.141 104.8);
Tailwind
colors: {
  custom: {
    50: '#cec26e',
    500: '#b4aa29',
    950: '#000000',
  },
}
SCSS
$custom: #b4aa29;
$custom-light: #cec26e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4aa29",
  "rgb": {
    "r": 180,
    "g": 170,
    "b": 41
  },
  "hsl": {
    "h": 55.683,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72458,
    "c": 0.14139,
    "h": 104.8
  },
  "luminance": 0.38613
}

Semantic roles & 50–950 ramp

primary
#B4AA29
secondary
#7177C8
accent
#4EE642
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AA29

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

Preview Lab → · Contrast checker → · Palette generator →

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