#B4AA34#B4AA34

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

Color values

HEX#B4AA34
RGBrgb(180, 170, 52)
HSLhsl(55, 55%, 45%)
HSVhsv(55, 71%, 71%)
CMYKcmyk(0%, 5.6%, 71.1%, 29.4%)
CIE-LABlab(68.53, -10.07, 58.83)
CIE-LCHlch(68.53, 59.69, 99.71°)
OKLaboklab(72.53% -0.0336 0.1307)
OKLCHoklch(72.53% 0.135 104.4)
XYZxyz(33.8183, 38.7020, 8.9370)
Luminance0.3870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4AA34 #343EB4
analogous
#B46A34 #B4AA34 #7EB434
triadic
#B4AA34 #34B4AA #AA34B4
tetradic
#B4AA34 #34B46A #343EB4 #B4347E
square
#B4AA34 #34B46A #343EB4 #B4347E
split-complementary
#B4AA34 #347EB4 #6A34B4
monochromatic
#555019 #857D26 #B4AA34 #CEC557 #DCD586

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4AA34#FFFFFF#000000##000000
##B4AA341.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)
#B9A421
Deuteranopia (green-blind)
#BCAA3C
Tritanopia (blue-blind)
#C19E93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b4aa34;
/* rgb */ color: rgb(180, 170, 52);
/* oklch */ color: oklch(72.5% 0.135 104.4);
Tailwind
colors: {
  custom: {
    50: '#cec373',
    500: '#b4aa34',
    950: '#000000',
  },
}
SCSS
$custom: #b4aa34;
$custom-light: #cec373;
$custom-dark: #000000;
JSON
{
  "hex": "#b4aa34",
  "rgb": {
    "r": 180,
    "g": 170,
    "b": 52
  },
  "hsl": {
    "h": 55.313,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.7253,
    "c": 0.13494,
    "h": 104.4
  },
  "luminance": 0.38701
}

Semantic roles & 50–950 ramp

primary
#B4AA34
secondary
#7E84C6
accent
#55DF49
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4AA34

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

Preview Lab → · Contrast checker → · Palette generator →

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