#B4AA36#B4AA36

#B4AA36 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.5% C 0.134 H 104.4°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#B4AA36
RGBrgb(180, 170, 54)
HSLhsl(55, 54%, 46%)
HSVhsv(55, 70%, 71%)
CMYKcmyk(0%, 5.6%, 70%, 29.4%)
CIE-LABlab(68.55, -9.97, 58.08)
CIE-LCHlch(68.55, 58.93, 99.74°)
OKLaboklab(72.55% -0.0331 0.1294)
OKLCHoklch(72.55% 0.134 104.4)
XYZxyz(33.8644, 38.7204, 9.1793)
Luminance0.3872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AA36 #3640B4
analogous
#B46B36 #B4AA36 #7FB436
triadic
#B4AA36 #36B4AA #AA36B4
tetradic
#B4AA36 #36B46B #3640B4 #B4367F
square
#B4AA36 #36B46B #3640B4 #B4367F
split-complementary
#B4AA36 #367FB4 #6B36B4
monochromatic
#56511A #857E28 #B4AA36 #CDC45A #DCD589

Accessibility & contrast

On white

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

On black

8.74
#B4AA36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4AA36
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4AA36#FFFFFF#000000##000000
##B4AA361.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4aa36;
/* rgb */ color: rgb(180, 170, 54);
/* oklch */ color: oklch(72.5% 0.134 104.4);
Tailwind
colors: {
  custom: {
    50: '#cec374',
    500: '#b4aa36',
    950: '#000000',
  },
}
SCSS
$custom: #b4aa36;
$custom-light: #cec374;
$custom-dark: #000000;
JSON
{
  "hex": "#b4aa36",
  "rgb": {
    "r": 180,
    "g": 170,
    "b": 54
  },
  "hsl": {
    "h": 55.238,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72545,
    "c": 0.13361,
    "h": 104.4
  },
  "luminance": 0.38719
}

Semantic roles & 50–950 ramp

primary
#B4AA36
secondary
#8086C6
accent
#56DD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4AA36

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

Preview Lab → · Contrast checker → · Palette generator →

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