#B4AC34#B4AC34

#B4AC34 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.0% C 0.137 H 105.5°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#B4AC34
RGBrgb(180, 172, 52)
HSLhsl(56, 55%, 45%)
HSVhsv(56, 71%, 71%)
CMYKcmyk(0%, 4.4%, 71.1%, 29.4%)
CIE-LABlab(69.08, -11.11, 59.37)
CIE-LCHlch(69.08, 60.40, 100.60°)
OKLaboklab(72.97% -0.0366 0.1318)
OKLCHoklch(72.97% 0.137 105.5)
XYZxyz(34.1961, 39.4575, 9.0629)
Luminance0.3946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AC34 #343CB4
analogous
#B46C34 #B4AC34 #7CB434
triadic
#B4AC34 #34B4AC #AC34B4
tetradic
#B4AC34 #34B46C #343CB4 #B4347C
square
#B4AC34 #34B46C #343CB4 #B4347C
split-complementary
#B4AC34 #347CB4 #6C34B4
monochromatic
#555119 #857F26 #B4AC34 #CEC757 #DCD786

Accessibility & contrast

On white

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

On black

8.89
#B4AC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AC34
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AC34#FFFFFF#000000##000000
##B4AC341.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA620
Deuteranopia (green-blind)
#BEAB3C
Tritanopia (blue-blind)
#C1A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b4ac34;
/* rgb */ color: rgb(180, 172, 52);
/* oklch */ color: oklch(73.0% 0.137 105.5);
Tailwind
colors: {
  custom: {
    50: '#cec473',
    500: '#b4ac34',
    950: '#000000',
  },
}
SCSS
$custom: #b4ac34;
$custom-light: #cec473;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ac34",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 52
  },
  "hsl": {
    "h": 56.25,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72965,
    "c": 0.13679,
    "h": 105.5
  },
  "luminance": 0.39456
}

Semantic roles & 50–950 ramp

primary
#B4AC34
secondary
#7E82C6
accent
#53DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AC34

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

Preview Lab → · Contrast checker → · Palette generator →

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