#B4AC1B#B4AC1B

#B4AC1B is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.8% C 0.149 H 106.1°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#B4AC1B
RGBrgb(180, 172, 27)
HSLhsl(57, 74%, 41%)
HSVhsv(57, 85%, 71%)
CMYKcmyk(0%, 4.4%, 85%, 29.4%)
CIE-LABlab(68.96, -12.06, 66.97)
CIE-LCHlch(68.96, 68.05, 100.21°)
OKLaboklab(72.83% -0.0413 0.1435)
OKLCHoklch(72.83% 0.149 106.1)
XYZxyz(33.7743, 39.2888, 6.8411)
Luminance0.3929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AC1B #1B23B4
analogous
#B4601B #B4AC1B #6FB41B
triadic
#B4AC1B #1BB4AC #AC1BB4
tetradic
#B4AC1B #1BB460 #1B23B4 #B41B6F
square
#B4AC1B #1BB460 #1B23B4 #B41B6F
split-complementary
#B4AC1B #1B6FB4 #601BB4
monochromatic
#4A460B #7F7913 #B4AC1B #DFD62D #E7E062

Accessibility & contrast

On white

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

On black

8.86
#B4AC1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AC1B
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AC1B#FFFFFF#000000##000000
##B4AC1B1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4ac1b;
/* rgb */ color: rgb(180, 172, 27);
/* oklch */ color: oklch(72.8% 0.149 106.1);
Tailwind
colors: {
  custom: {
    50: '#cfc468',
    500: '#b4ac1b',
    950: '#000000',
  },
}
SCSS
$custom: #b4ac1b;
$custom-light: #cfc468;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ac1b",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 27
  },
  "hsl": {
    "h": 56.863,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.72829,
    "c": 0.14928,
    "h": 106.1
  },
  "luminance": 0.39287
}

Semantic roles & 50–950 ramp

primary
#B4AC1B
secondary
#5F64CC
accent
#41F137
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141207
muted
#83817A

Preview Lab

Preview with #B4AC1B

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

Preview Lab → · Contrast checker → · Palette generator →

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