#B4A534#B4A534

#B4A534 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.4% C 0.131 H 101.6°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#B4A534
RGBrgb(180, 165, 52)
HSLhsl(53, 55%, 45%)
HSVhsv(53, 71%, 71%)
CMYKcmyk(0%, 8.3%, 71.1%, 29.4%)
CIE-LABlab(67.17, -7.45, 57.49)
CIE-LCHlch(67.17, 57.97, 97.38°)
OKLaboklab(71.45% -0.0262 0.1278)
OKLCHoklch(71.45% 0.131 101.6)
XYZxyz(32.8988, 36.8629, 8.6305)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A534 #3443B4
analogous
#B46534 #B4A534 #83B434
triadic
#B4A534 #34B4A5 #A534B4
tetradic
#B4A534 #34B465 #3443B4 #B43483
square
#B4A534 #34B465 #3443B4 #B43483
split-complementary
#B4A534 #3483B4 #6534B4
monochromatic
#554E19 #857926 #B4A534 #CEC057 #DCD286

Accessibility & contrast

On white

2.51
#B4A534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#B4A534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A534
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A534#FFFFFF#000000##000000
##B4A5341.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A022
Deuteranopia (green-blind)
#B9A63B
Tritanopia (blue-blind)
#C2998F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b4a534;
/* rgb */ color: rgb(180, 165, 52);
/* oklch */ color: oklch(71.4% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#cebf73',
    500: '#b4a534',
    950: '#000000',
  },
}
SCSS
$custom: #b4a534;
$custom-light: #cebf73;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a534",
  "rgb": {
    "r": 180,
    "g": 165,
    "b": 52
  },
  "hsl": {
    "h": 52.969,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71448,
    "c": 0.1305,
    "h": 101.6
  },
  "luminance": 0.36861
}

Semantic roles & 50–950 ramp

primary
#B4A534
secondary
#7E86C6
accent
#5BDF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A534

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

Preview Lab → · Contrast checker → · Palette generator →

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