#B4AC2C#B4AC2C

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

Color values

HEX#B4AC2C
RGBrgb(180, 172, 44)
HSLhsl(56, 61%, 44%)
HSVhsv(56, 76%, 71%)
CMYKcmyk(0%, 4.4%, 75.6%, 29.4%)
CIE-LABlab(69.03, -11.48, 62.17)
CIE-LCHlch(69.03, 63.23, 100.46°)
OKLaboklab(72.91% -0.0384 0.1363)
OKLCHoklch(72.91% 0.142 105.7)
XYZxyz(34.0310, 39.3915, 8.1931)
Luminance0.3939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AC2C #2C34B4
analogous
#B4682C #B4AC2C #78B42C
triadic
#B4AC2C #2CB4AC #AC2CB4
tetradic
#B4AC2C #2CB468 #2C34B4 #B42C78
square
#B4AC2C #2CB468 #2C34B4 #B42C78
split-complementary
#B4AC2C #2C78B4 #682CB4
monochromatic
#524E14 #837D20 #B4AC2C #D3CB4A #DFD97C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4AC2C#FFFFFF#000000##000000
##B4AC2C1.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)
#BBA60F
Deuteranopia (green-blind)
#BEAB36
Tritanopia (blue-blind)
#C2A094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4ac2c;
/* rgb */ color: rgb(180, 172, 44);
/* oklch */ color: oklch(72.9% 0.142 105.7);
Tailwind
colors: {
  custom: {
    50: '#cec46f',
    500: '#b4ac2c',
    950: '#000000',
  },
}
SCSS
$custom: #b4ac2c;
$custom-light: #cec46f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ac2c",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 56.471,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.72912,
    "c": 0.14158,
    "h": 105.7
  },
  "luminance": 0.3939
}

Semantic roles & 50–950 ramp

primary
#B4AC2C
secondary
#7579C7
accent
#4DE444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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