#B4AC3A#B4AC3A

#B4AC3A is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.0% C 0.133 H 105.3°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#B4AC3A
RGBrgb(180, 172, 58)
HSLhsl(56, 51%, 47%)
HSVhsv(56, 68%, 71%)
CMYKcmyk(0%, 4.4%, 67.8%, 29.4%)
CIE-LABlab(69.12, -10.79, 57.07)
CIE-LCHlch(69.12, 58.08, 100.71°)
OKLaboklab(73.01% -0.035 0.128)
OKLCHoklch(73.01% 0.133 105.3)
XYZxyz(34.3400, 39.5151, 9.8205)
Luminance0.3951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AC3A #3A42B4
analogous
#B46F3A #B4AC3A #7FB43A
triadic
#B4AC3A #3AB4AC #AC3AB4
tetradic
#B4AC3A #3AB46F #3A42B4 #B43A7F
square
#B4AC3A #3AB46F #3A42B4 #B43A7F
split-complementary
#B4AC3A #3A7FB4 #6F3AB4
monochromatic
#57541C #86802B #B4AC3A #CCC560 #DBD68E

Accessibility & contrast

On white

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

On black

8.90
#B4AC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AC3A
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AC3A#FFFFFF#000000##000000
##B4AC3A1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62A
Deuteranopia (green-blind)
#BEAB41
Tritanopia (blue-blind)
#C1A195
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b4ac3a;
/* rgb */ color: rgb(180, 172, 58);
/* oklch */ color: oklch(73.0% 0.133 105.3);
Tailwind
colors: {
  custom: {
    50: '#cec477',
    500: '#b4ac3a',
    950: '#000000',
  },
}
SCSS
$custom: #b4ac3a;
$custom-light: #cec477;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ac3a",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 58
  },
  "hsl": {
    "h": 56.066,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73011,
    "c": 0.13272,
    "h": 105.3
  },
  "luminance": 0.39514
}

Semantic roles & 50–950 ramp

primary
#B4AC3A
secondary
#8589C5
accent
#56DB4D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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