#B4AC2F#B4AC2F

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

Color values

HEX#B4AC2F
RGBrgb(180, 172, 47)
HSLhsl(56, 59%, 45%)
HSVhsv(56, 74%, 71%)
CMYKcmyk(0%, 4.4%, 73.9%, 29.4%)
CIE-LABlab(69.05, -11.35, 61.16)
CIE-LCHlch(69.05, 62.20, 100.51°)
OKLaboklab(72.93% -0.0377 0.1347)
OKLCHoklch(72.93% 0.14 105.6)
XYZxyz(34.0894, 39.4149, 8.5009)
Luminance0.3941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AC2F #2F37B4
analogous
#B46A2F #B4AC2F #7AB42F
triadic
#B4AC2F #2FB4AC #AC2FB4
tetradic
#B4AC2F #2FB46A #2F37B4 #B42F7A
square
#B4AC2F #2FB46A #2F37B4 #B42F7A
split-complementary
#B4AC2F #2F7AB4 #6A2FB4
monochromatic
#534F16 #837E22 #B4AC2F #D1C94F #DED880

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4AC2F#FFFFFF#000000##000000
##B4AC2F1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA616
Deuteranopia (green-blind)
#BEAB38
Tritanopia (blue-blind)
#C1A094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4ac2f;
/* rgb */ color: rgb(180, 172, 47);
/* oklch */ color: oklch(72.9% 0.140 105.6);
Tailwind
colors: {
  custom: {
    50: '#cec471',
    500: '#b4ac2f',
    950: '#000000',
  },
}
SCSS
$custom: #b4ac2f;
$custom-light: #cec471;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ac2f",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 56.391,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72931,
    "c": 0.13987,
    "h": 105.6
  },
  "luminance": 0.39414
}

Semantic roles & 50–950 ramp

primary
#B4AC2F
secondary
#787DC7
accent
#4FE246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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