#B4AA37#B4AA37

#B4AA37 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.6% C 0.133 H 104.3°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#B4AA37
RGBrgb(180, 170, 55)
HSLhsl(55, 53%, 46%)
HSVhsv(55, 69%, 71%)
CMYKcmyk(0%, 5.6%, 69.4%, 29.4%)
CIE-LABlab(68.56, -9.92, 57.69)
CIE-LCHlch(68.56, 58.54, 99.75°)
OKLaboklab(72.55% -0.0329 0.1288)
OKLCHoklch(72.55% 0.133 104.3)
XYZxyz(33.8881, 38.7299, 9.3043)
Luminance0.3873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AA37 #3741B4
analogous
#B46B37 #B4AA37 #7FB437
triadic
#B4AA37 #37B4AA #AA37B4
tetradic
#B4AA37 #37B46B #3741B4 #B4377F
square
#B4AA37 #37B46B #3741B4 #B4377F
split-complementary
#B4AA37 #377FB4 #6B37B4
monochromatic
#56511A #857E29 #B4AA37 #CDC45B #DBD58A

Accessibility & contrast

On white

2.40
#B4AA37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#B4AA37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AA37
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AA37#FFFFFF#000000##000000
##B4AA371.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A426
Deuteranopia (green-blind)
#BCAA3E
Tritanopia (blue-blind)
#C19E93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b4aa37;
/* rgb */ color: rgb(180, 170, 55);
/* oklch */ color: oklch(72.6% 0.133 104.3);
Tailwind
colors: {
  custom: {
    50: '#cec375',
    500: '#b4aa37',
    950: '#000000',
  },
}
SCSS
$custom: #b4aa37;
$custom-light: #cec375;
$custom-dark: #000000;
JSON
{
  "hex": "#b4aa37",
  "rgb": {
    "r": 180,
    "g": 170,
    "b": 55
  },
  "hsl": {
    "h": 55.2,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72552,
    "c": 0.13293,
    "h": 104.3
  },
  "luminance": 0.38729
}

Semantic roles & 50–950 ramp

primary
#B4AA37
secondary
#8187C6
accent
#57DD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AA37

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

Preview Lab → · Contrast checker → · Palette generator →

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