#B4AC29#B4AC29

#B4AC29 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.9% C 0.143 H 105.8°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#B4AC29
RGBrgb(180, 172, 41)
HSLhsl(57, 63%, 43%)
HSVhsv(57, 77%, 71%)
CMYKcmyk(0%, 4.4%, 77.2%, 29.4%)
CIE-LABlab(69.02, -11.60, 63.14)
CIE-LCHlch(69.02, 64.20, 100.41°)
OKLaboklab(72.89% -0.039 0.1378)
OKLCHoklch(72.89% 0.143 105.8)
XYZxyz(33.9766, 39.3697, 7.9068)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AC29 #2931B4
analogous
#B46629 #B4AC29 #76B429
triadic
#B4AC29 #29B4AC #AC29B4
tetradic
#B4AC29 #29B466 #2931B4 #B42976
square
#B4AC29 #29B466 #2931B4 #B42976
split-complementary
#B4AC29 #2976B4 #6629B4
monochromatic
#504D12 #827C1E #B4AC29 #D5CC45 #E0DA77

Accessibility & contrast

On white

2.37
#B4AC29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#B4AC29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AC29
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AC29#FFFFFF#000000##000000
##B4AC291.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA606
Deuteranopia (green-blind)
#BEAB34
Tritanopia (blue-blind)
#C2A094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4ac29;
/* rgb */ color: rgb(180, 172, 41);
/* oklch */ color: oklch(72.9% 0.143 105.8);
Tailwind
colors: {
  custom: {
    50: '#cec46e',
    500: '#b4ac29',
    950: '#000000',
  },
}
SCSS
$custom: #b4ac29;
$custom-light: #cec46e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ac29",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 41
  },
  "hsl": {
    "h": 56.547,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72894,
    "c": 0.14318,
    "h": 105.8
  },
  "luminance": 0.39368
}

Semantic roles & 50–950 ramp

primary
#B4AC29
secondary
#7176C8
accent
#4BE642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AC29

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

Preview Lab → · Contrast checker → · Palette generator →

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