#B4AC52#B4AC52

#B4AC52 is a light, moderate yellow. Relative luminance 0.398; OKLCH L 73.3% C 0.113 H 104.2°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#B4AC52
RGBrgb(180, 172, 82)
HSLhsl(55, 40%, 51%)
HSVhsv(55, 54%, 71%)
CMYKcmyk(0%, 4.4%, 54.4%, 29.4%)
CIE-LABlab(69.34, -9.13, 46.63)
CIE-LCHlch(69.34, 47.52, 101.07°)
OKLaboklab(73.25% -0.0276 0.1091)
OKLCHoklch(73.25% 0.113 104.2)
XYZxyz(35.0990, 39.8187, 13.8179)
Luminance0.3982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AC52 #525AB4
analogous
#B47B52 #B4AC52 #8BB452
triadic
#B4AC52 #52B4AC #AC52B4
tetradic
#B4AC52 #52B47B #525AB4 #B4528B
square
#B4AC52 #52B47B #525AB4 #B4528B
split-complementary
#B4AC52 #528BB4 #7B52B4
monochromatic
#615D2A #8C863D #B4AC52 #C7C07D #D9D5A7

Accessibility & contrast

On white

2.34
#B4AC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#B4AC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AC52
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AC52#FFFFFF#000000##000000
##B4AC521.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A749
Deuteranopia (green-blind)
#BCAB56
Tritanopia (blue-blind)
#C0A298
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #b4ac52;
/* rgb */ color: rgb(180, 172, 82);
/* oklch */ color: oklch(73.3% 0.113 104.2);
Tailwind
colors: {
  custom: {
    50: '#cdc485',
    500: '#b4ac52',
    950: '#000000',
  },
}
SCSS
$custom: #b4ac52;
$custom-light: #cdc485;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ac52",
  "rgb": {
    "r": 180,
    "g": 172,
    "b": 82
  },
  "hsl": {
    "h": 55.102,
    "s": 39.516,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73254,
    "c": 0.11254,
    "h": 104.2
  },
  "luminance": 0.39818
}

Semantic roles & 50–950 ramp

primary
#B4AC52
secondary
#9B9FC7
accent
#62CF58
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B4AC52

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

Preview Lab → · Contrast checker → · Palette generator →

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