#B4AA48#B4AA48

#B4AA48 is a light, moderate yellow. Relative luminance 0.389; OKLCH L 72.7% C 0.120 H 103.5°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#B4AA48
RGBrgb(180, 170, 72)
HSLhsl(54, 43%, 49%)
HSVhsv(54, 60%, 71%)
CMYKcmyk(0%, 5.6%, 60%, 29.4%)
CIE-LABlab(68.69, -8.85, 50.59)
CIE-LCHlch(68.69, 51.35, 99.92°)
OKLaboklab(72.71% -0.0279 0.1164)
OKLCHoklch(72.71% 0.12 103.5)
XYZxyz(34.3680, 38.9219, 11.8320)
Luminance0.3892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AA48 #4852B4
analogous
#B47448 #B4AA48 #88B448
triadic
#B4AA48 #48B4AA #AA48B4
tetradic
#B4AA48 #48B474 #4852B4 #B44888
square
#B4AA48 #48B474 #4852B4 #B44888
split-complementary
#B4AA48 #4888B4 #7448B4
monochromatic
#5D5725 #888137 #B4AA48 #C7BF72 #D8D39E

Accessibility & contrast

On white

2.39
#B4AA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#B4AA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AA48
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AA48#FFFFFF#000000##000000
##B4AA481.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A53D
Deuteranopia (green-blind)
#BBAA4D
Tritanopia (blue-blind)
#C19F95
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b4aa48;
/* rgb */ color: rgb(180, 170, 72);
/* oklch */ color: oklch(72.7% 0.120 103.5);
Tailwind
colors: {
  custom: {
    50: '#cdc37f',
    500: '#b4aa48',
    950: '#000000',
  },
}
SCSS
$custom: #b4aa48;
$custom-light: #cdc37f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4aa48",
  "rgb": {
    "r": 180,
    "g": 170,
    "b": 72
  },
  "hsl": {
    "h": 54.444,
    "s": 42.857,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72708,
    "c": 0.1197,
    "h": 103.5
  },
  "luminance": 0.38921
}

Semantic roles & 50–950 ramp

primary
#B4AA48
secondary
#9398C5
accent
#61D355
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B4AA48

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

Preview Lab → · Contrast checker → · Palette generator →

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