#B4AC32#B4AC32

#B4AC32 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.138 H 105.6°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#B4AC32
RGBrgb(180, 172, 50)
HSLhsl(56, 57%, 45%)
HSVhsv(56, 72%, 71%)
CMYKcmyk(0%, 4.4%, 72.2%, 29.4%)
CIE-LABlab(69.07, -11.21, 60.10)
CIE-LCHlch(69.07, 61.14, 100.57°)
OKLaboklab(72.95% -0.037 0.133)
OKLCHoklch(72.95% 0.138 105.6)
XYZxyz(34.1520, 39.4399, 8.8307)
Luminance0.3944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AC32 #323AB4
analogous
#B46B32 #B4AC32 #7BB432
triadic
#B4AC32 #32B4AC #AC32B4
tetradic
#B4AC32 #32B46B #323AB4 #B4327B
square
#B4AC32 #32B46B #323AB4 #B4327B
split-complementary
#B4AC32 #327BB4 #6B32B4
monochromatic
#545017 #847E25 #B4AC32 #CFC854 #DDD784

Accessibility & contrast

On white

2.36
#B4AC32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#B4AC32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AC32
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AC32#FFFFFF#000000##000000
##B4AC321.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA61C
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#C1A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b4ac32;
/* rgb */ color: rgb(180, 172, 50);
/* oklch */ color: oklch(73.0% 0.138 105.6);
Tailwind
colors: {
  custom: {
    50: '#cec472',
    500: '#b4ac32',
    950: '#000000',
  },
}
SCSS
$custom: #b4ac32;
$custom-light: #cec472;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ac32",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 50
  },
  "hsl": {
    "h": 56.308,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72951,
    "c": 0.13805,
    "h": 105.6
  },
  "luminance": 0.39439
}

Semantic roles & 50–950 ramp

primary
#B4AC32
secondary
#7C80C6
accent
#51E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AC32

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

Preview Lab → · Contrast checker → · Palette generator →

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