#B4A32D#B4A32D

#B4A32D is a light, vivid yellow. Relative luminance 0.361; OKLCH L 71.0% C 0.133 H 100.8°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#B4A32D
RGBrgb(180, 163, 45)
HSLhsl(52, 60%, 44%)
HSVhsv(52, 75%, 71%)
CMYKcmyk(0%, 9.4%, 75%, 29.4%)
CIE-LABlab(66.59, -6.72, 59.54)
CIE-LCHlch(66.59, 59.92, 96.44°)
OKLaboklab(70.97% -0.0249 0.1309)
OKLCHoklch(70.97% 0.133 100.8)
XYZxyz(32.3948, 36.0887, 7.7416)
Luminance0.3609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A32D #2D3EB4
analogous
#B45F2D #B4A32D #82B42D
triadic
#B4A32D #2DB4A3 #A32DB4
tetradic
#B4A32D #2DB45F #2D3EB4 #B42D82
square
#B4A32D #2DB45F #2D3EB4 #B42D82
split-complementary
#B4A32D #2D82B4 #5F2DB4
monochromatic
#524A15 #837721 #B4A32D #D2C14C #DED27D

Accessibility & contrast

On white

2.56
#B4A32D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#B4A32D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A32D
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A32D#FFFFFF#000000##000000
##B4A32D1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E16
Deuteranopia (green-blind)
#B8A535
Tritanopia (blue-blind)
#C2978C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b4a32d;
/* rgb */ color: rgb(180, 163, 45);
/* oklch */ color: oklch(71.0% 0.133 100.8);
Tailwind
colors: {
  custom: {
    50: '#cebd6f',
    500: '#b4a32d',
    950: '#000000',
  },
}
SCSS
$custom: #b4a32d;
$custom-light: #cebd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a32d",
  "rgb": {
    "r": 180,
    "g": 163,
    "b": 45
  },
  "hsl": {
    "h": 52.444,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70968,
    "c": 0.1332,
    "h": 100.8
  },
  "luminance": 0.36087
}

Semantic roles & 50–950 ramp

primary
#B4A32D
secondary
#7680C7
accent
#59E345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A32D

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

Preview Lab → · Contrast checker → · Palette generator →

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