#B4AC40#B4AC40

#B4AC40 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.1% C 0.128 H 105.1°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#B4AC40
RGBrgb(180, 172, 64)
HSLhsl(56, 48%, 48%)
HSVhsv(56, 64%, 71%)
CMYKcmyk(0%, 4.4%, 64.4%, 29.4%)
CIE-LABlab(69.17, -10.44, 54.63)
CIE-LCHlch(69.17, 55.62, 100.81°)
OKLaboklab(73.06% -0.0334 0.1238)
OKLCHoklch(73.06% 0.128 105.1)
XYZxyz(34.5016, 39.5797, 10.6718)
Luminance0.3958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AC40 #4048B4
analogous
#B47240 #B4AC40 #82B440
triadic
#B4AC40 #40B4AC #AC40B4
tetradic
#B4AC40 #40B472 #4048B4 #B44082
square
#B4AC40 #40B472 #4048B4 #B44082
split-complementary
#B4AC40 #4082B4 #7240B4
monochromatic
#5A5620 #878130 #B4AC40 #C9C368 #D9D595

Accessibility & contrast

On white

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

On black

8.92
#B4AC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AC40
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AC40#FFFFFF#000000##000000
##B4AC401.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA632
Deuteranopia (green-blind)
#BDAB46
Tritanopia (blue-blind)
#C1A196
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b4ac40;
/* rgb */ color: rgb(180, 172, 64);
/* oklch */ color: oklch(73.1% 0.128 105.1);
Tailwind
colors: {
  custom: {
    50: '#cdc47a',
    500: '#b4ac40',
    950: '#000000',
  },
}
SCSS
$custom: #b4ac40;
$custom-light: #cdc47a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ac40",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 55.862,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73063,
    "c": 0.12824,
    "h": 105.1
  },
  "luminance": 0.39579
}

Semantic roles & 50–950 ramp

primary
#B4AC40
secondary
#8B8FC5
accent
#5AD751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B4AC40

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

Preview Lab → · Contrast checker → · Palette generator →

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