#B4AA52#B4AA52

#B4AA52 is a light, moderate yellow. Relative luminance 0.391; OKLCH L 72.8% C 0.111 H 102.9°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#B4AA52
RGBrgb(180, 170, 82)
HSLhsl(54, 40%, 51%)
HSVhsv(54, 54%, 71%)
CMYKcmyk(0%, 5.6%, 54.4%, 29.4%)
CIE-LABlab(68.80, -8.08, 46.00)
CIE-LCHlch(68.80, 46.71, 99.96°)
OKLaboklab(72.82% -0.0246 0.1078)
OKLCHoklch(72.82% 0.111 102.9)
XYZxyz(34.7212, 39.0631, 13.6920)
Luminance0.3906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AA52 #525CB4
analogous
#B47952 #B4AA52 #8DB452
triadic
#B4AA52 #52B4AA #AA52B4
tetradic
#B4AA52 #52B479 #525CB4 #B4528D
square
#B4AA52 #52B479 #525CB4 #B4528D
split-complementary
#B4AA52 #528DB4 #7952B4
monochromatic
#615C2A #8C843D #B4AA52 #C7BF7D #D9D4A7

Accessibility & contrast

On white

2.38
#B4AA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#B4AA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AA52
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AA52#FFFFFF#000000##000000
##B4AA521.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A54A
Deuteranopia (green-blind)
#BBAA56
Tritanopia (blue-blind)
#C0A096
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4aa52;
/* rgb */ color: rgb(180, 170, 82);
/* oklch */ color: oklch(72.8% 0.111 102.9);
Tailwind
colors: {
  custom: {
    50: '#cdc385',
    500: '#b4aa52',
    950: '#000000',
  },
}
SCSS
$custom: #b4aa52;
$custom-light: #cdc385;
$custom-dark: #000000;
JSON
{
  "hex": "#b4aa52",
  "rgb": {
    "r": 180,
    "g": 170,
    "b": 82
  },
  "hsl": {
    "h": 53.878,
    "s": 39.516,
    "l": 51.373
  },
  "oklch": {
    "l": 0.72822,
    "c": 0.11052,
    "h": 102.9
  },
  "luminance": 0.39062
}

Semantic roles & 50–950 ramp

primary
#B4AA52
secondary
#9BA0C7
accent
#65CF58
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B4AA52

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

Preview Lab → · Contrast checker → · Palette generator →

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