#B4AC2D#B4AC2D

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

Color values

HEX#B4AC2D
RGBrgb(180, 172, 45)
HSLhsl(56, 60%, 44%)
HSVhsv(56, 75%, 71%)
CMYKcmyk(0%, 4.4%, 75%, 29.4%)
CIE-LABlab(69.04, -11.44, 61.84)
CIE-LCHlch(69.04, 62.89, 100.48°)
OKLaboklab(72.92% -0.0382 0.1358)
OKLCHoklch(72.92% 0.141 105.7)
XYZxyz(34.0500, 39.3991, 8.2933)
Luminance0.3940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AC2D #2D35B4
analogous
#B4682D #B4AC2D #79B42D
triadic
#B4AC2D #2DB4AC #AC2DB4
tetradic
#B4AC2D #2DB468 #2D35B4 #B42D79
square
#B4AC2D #2DB468 #2D35B4 #B42D79
split-complementary
#B4AC2D #2D79B4 #682DB4
monochromatic
#524E15 #837D21 #B4AC2D #D2CA4C #DED97D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4AC2D#FFFFFF#000000##000000
##B4AC2D1.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)
#BBA612
Deuteranopia (green-blind)
#BEAB37
Tritanopia (blue-blind)
#C2A094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4ac2d;
/* rgb */ color: rgb(180, 172, 45);
/* oklch */ color: oklch(72.9% 0.141 105.7);
Tailwind
colors: {
  custom: {
    50: '#cec470',
    500: '#b4ac2d',
    950: '#000000',
  },
}
SCSS
$custom: #b4ac2d;
$custom-light: #cec470;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ac2d",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 56.444,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72918,
    "c": 0.14102,
    "h": 105.7
  },
  "luminance": 0.39398
}

Semantic roles & 50–950 ramp

primary
#B4AC2D
secondary
#767BC7
accent
#4EE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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