#B4AC3F#B4AC3F

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

Color values

HEX#B4AC3F
RGBrgb(180, 172, 63)
HSLhsl(56, 48%, 48%)
HSVhsv(56, 65%, 71%)
CMYKcmyk(0%, 4.4%, 65%, 29.4%)
CIE-LABlab(69.16, -10.50, 55.05)
CIE-LCHlch(69.16, 56.04, 100.80°)
OKLaboklab(73.05% -0.0336 0.1245)
OKLCHoklch(73.05% 0.129 105.1)
XYZxyz(34.4734, 39.5685, 10.5232)
Luminance0.3957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AC3F #3F47B4
analogous
#B4713F #B4AC3F #82B43F
triadic
#B4AC3F #3FB4AC #AC3FB4
tetradic
#B4AC3F #3FB471 #3F47B4 #B43F82
square
#B4AC3F #3FB471 #3F47B4 #B43F82
split-complementary
#B4AC3F #3F82B4 #713FB4
monochromatic
#59551F #87812F #B4AC3F #CAC367 #DAD594

Accessibility & contrast

On white

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

On black

8.91
#B4AC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AC3F
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AC3F#FFFFFF#000000##000000
##B4AC3F1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4ac3f;
/* rgb */ color: rgb(180, 172, 63);
/* oklch */ color: oklch(73.1% 0.129 105.1);
Tailwind
colors: {
  custom: {
    50: '#cdc47a',
    500: '#b4ac3f',
    950: '#000000',
  },
}
SCSS
$custom: #b4ac3f;
$custom-light: #cdc47a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ac3f",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 63
  },
  "hsl": {
    "h": 55.897,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73054,
    "c": 0.12901,
    "h": 105.1
  },
  "luminance": 0.39567
}

Semantic roles & 50–950 ramp

primary
#B4AC3F
secondary
#8A8EC5
accent
#59D850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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