#B4AC2B#B4AC2B

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

Color values

HEX#B4AC2B
RGBrgb(180, 172, 43)
HSLhsl(56, 61%, 44%)
HSVhsv(56, 76%, 71%)
CMYKcmyk(0%, 4.4%, 76.1%, 29.4%)
CIE-LABlab(69.03, -11.52, 62.50)
CIE-LCHlch(69.03, 63.56, 100.45°)
OKLaboklab(72.91% -0.0386 0.1368)
OKLCHoklch(72.91% 0.142 105.8)
XYZxyz(34.0124, 39.3841, 8.0953)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AC2B #2B33B4
analogous
#B4672B #B4AC2B #77B42B
triadic
#B4AC2B #2BB4AC #AC2BB4
tetradic
#B4AC2B #2BB467 #2B33B4 #B42B77
square
#B4AC2B #2BB467 #2B33B4 #B42B77
split-complementary
#B4AC2B #2B77B4 #672BB4
monochromatic
#514E13 #837D1F #B4AC2B #D3CB49 #DFD97A

Accessibility & contrast

On white

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

On black

8.88
#B4AC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AC2B
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AC2B#FFFFFF#000000##000000
##B4AC2B1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4ac2b;
/* rgb */ color: rgb(180, 172, 43);
/* oklch */ color: oklch(72.9% 0.142 105.8);
Tailwind
colors: {
  custom: {
    50: '#cec46f',
    500: '#b4ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #b4ac2b;
$custom-light: #cec46f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ac2b",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 56.496,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72906,
    "c": 0.14213,
    "h": 105.8
  },
  "luminance": 0.39383
}

Semantic roles & 50–950 ramp

primary
#B4AC2B
secondary
#7378C7
accent
#4DE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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