#B4AA33#B4AA33

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

Color values

HEX#B4AA33
RGBrgb(180, 170, 51)
HSLhsl(55, 56%, 45%)
HSVhsv(55, 72%, 71%)
CMYKcmyk(0%, 5.6%, 71.7%, 29.4%)
CIE-LABlab(68.53, -10.12, 59.20)
CIE-LCHlch(68.53, 60.06, 99.70°)
OKLaboklab(72.52% -0.0339 0.1313)
OKLCHoklch(72.52% 0.136 104.5)
XYZxyz(33.7961, 38.6931, 8.8196)
Luminance0.3869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AA33 #333DB4
analogous
#B46A33 #B4AA33 #7DB433
triadic
#B4AA33 #33B4AA #AA33B4
tetradic
#B4AA33 #33B46A #333DB4 #B4337D
square
#B4AA33 #33B46A #333DB4 #B4337D
split-complementary
#B4AA33 #337DB4 #6A33B4
monochromatic
#555018 #847D25 #B4AA33 #CFC555 #DCD685

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4AA33#FFFFFF#000000##000000
##B4AA331.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)
#B9A41F
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#C19E93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b4aa33;
/* rgb */ color: rgb(180, 170, 51);
/* oklch */ color: oklch(72.5% 0.136 104.5);
Tailwind
colors: {
  custom: {
    50: '#cec373',
    500: '#b4aa33',
    950: '#000000',
  },
}
SCSS
$custom: #b4aa33;
$custom-light: #cec373;
$custom-dark: #000000;
JSON
{
  "hex": "#b4aa33",
  "rgb": {
    "r": 180,
    "g": 170,
    "b": 51
  },
  "hsl": {
    "h": 55.349,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.72522,
    "c": 0.13558,
    "h": 104.5
  },
  "luminance": 0.38692
}

Semantic roles & 50–950 ramp

primary
#B4AA33
secondary
#7D82C6
accent
#54DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AA33

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

Preview Lab → · Contrast checker → · Palette generator →

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