#B4AC28#B4AC28

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

Color values

HEX#B4AC28
RGBrgb(180, 172, 40)
HSLhsl(57, 64%, 43%)
HSVhsv(57, 78%, 71%)
CMYKcmyk(0%, 4.4%, 77.8%, 29.4%)
CIE-LABlab(69.01, -11.64, 63.45)
CIE-LCHlch(69.01, 64.51, 100.40°)
OKLaboklab(72.89% -0.0392 0.1383)
OKLCHoklch(72.89% 0.144 105.8)
XYZxyz(33.9594, 39.3628, 7.8160)
Luminance0.3936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AC28 #2830B4
analogous
#B46628 #B4AC28 #76B428
triadic
#B4AC28 #28B4AC #AC28B4
tetradic
#B4AC28 #28B466 #2830B4 #B42876
square
#B4AC28 #28B466 #2830B4 #B42876
split-complementary
#B4AC28 #2876B4 #6628B4
monochromatic
#504C12 #827C1D #B4AC28 #D5CD44 #E1DA76

Accessibility & contrast

On white

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

On black

8.87
#B4AC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AC28
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AC28#FFFFFF#000000##000000
##B4AC281.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA502
Deuteranopia (green-blind)
#BEAB33
Tritanopia (blue-blind)
#C2A093
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4ac28;
/* rgb */ color: rgb(180, 172, 40);
/* oklch */ color: oklch(72.9% 0.144 105.8);
Tailwind
colors: {
  custom: {
    50: '#cec46e',
    500: '#b4ac28',
    950: '#000000',
  },
}
SCSS
$custom: #b4ac28;
$custom-light: #cec46e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ac28",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 56.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72889,
    "c": 0.14369,
    "h": 105.8
  },
  "luminance": 0.39362
}

Semantic roles & 50–950 ramp

primary
#B4AC28
secondary
#7075C8
accent
#4BE741
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AC28

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

Preview Lab → · Contrast checker → · Palette generator →

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