#B4AC33#B4AC33

#B4AC33 is a light, vivid yellow. Relative luminance 0.394; 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#B4AC33
RGBrgb(180, 172, 51)
HSLhsl(56, 56%, 45%)
HSVhsv(56, 72%, 71%)
CMYKcmyk(0%, 4.4%, 71.7%, 29.4%)
CIE-LABlab(69.08, -11.16, 59.74)
CIE-LCHlch(69.08, 60.77, 100.58°)
OKLaboklab(72.96% -0.0368 0.1324)
OKLCHoklch(72.96% 0.137 105.5)
XYZxyz(34.1738, 39.4486, 8.9456)
Luminance0.3945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AC33 #333BB4
analogous
#B46B33 #B4AC33 #7BB433
triadic
#B4AC33 #33B4AC #AC33B4
tetradic
#B4AC33 #33B46B #333BB4 #B4337B
square
#B4AC33 #33B46B #333BB4 #B4337B
split-complementary
#B4AC33 #337BB4 #6B33B4
monochromatic
#555118 #847E25 #B4AC33 #CFC755 #DCD785

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4AC33#FFFFFF#000000##000000
##B4AC331.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)
#BBA61E
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#C1A094
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b4ac33;
/* rgb */ color: rgb(180, 172, 51);
/* oklch */ color: oklch(73.0% 0.137 105.5);
Tailwind
colors: {
  custom: {
    50: '#cec473',
    500: '#b4ac33',
    950: '#000000',
  },
}
SCSS
$custom: #b4ac33;
$custom-light: #cec473;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ac33",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 51
  },
  "hsl": {
    "h": 56.279,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72958,
    "c": 0.13743,
    "h": 105.5
  },
  "luminance": 0.39447
}

Semantic roles & 50–950 ramp

primary
#B4AC33
secondary
#7D81C6
accent
#52DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AC33

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

Preview Lab → · Contrast checker → · Palette generator →

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