#B4AC2A#B4AC2A

#B4AC2A 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.88:1 contrast (WCAG AA passes).

Color values

HEX#B4AC2A
RGBrgb(180, 172, 42)
HSLhsl(57, 62%, 44%)
HSVhsv(57, 77%, 71%)
CMYKcmyk(0%, 4.4%, 76.7%, 29.4%)
CIE-LABlab(69.02, -11.56, 62.83)
CIE-LCHlch(69.02, 63.88, 100.43°)
OKLaboklab(72.9% -0.0388 0.1373)
OKLCHoklch(72.9% 0.143 105.8)
XYZxyz(33.9943, 39.3768, 7.9999)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AC2A #2A32B4
analogous
#B4672A #B4AC2A #77B42A
triadic
#B4AC2A #2AB4AC #AC2AB4
tetradic
#B4AC2A #2AB467 #2A32B4 #B42A77
square
#B4AC2A #2AB467 #2A32B4 #B42A77
split-complementary
#B4AC2A #2A77B4 #672AB4
monochromatic
#514D13 #827D1E #B4AC2A #D4CC47 #E0DA79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4AC2A#FFFFFF#000000##000000
##B4AC2A1.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)
#BBA609
Deuteranopia (green-blind)
#BEAB34
Tritanopia (blue-blind)
#C2A094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4ac2a;
/* rgb */ color: rgb(180, 172, 42);
/* oklch */ color: oklch(72.9% 0.143 105.8);
Tailwind
colors: {
  custom: {
    50: '#cec46e',
    500: '#b4ac2a',
    950: '#000000',
  },
}
SCSS
$custom: #b4ac2a;
$custom-light: #cec46e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ac2a",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 56.522,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.729,
    "c": 0.14266,
    "h": 105.8
  },
  "luminance": 0.39376
}

Semantic roles & 50–950 ramp

primary
#B4AC2A
secondary
#7277C8
accent
#4CE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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