#B4A32B#B4A32B

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

Color values

HEX#B4A32B
RGBrgb(180, 163, 43)
HSLhsl(53, 61%, 44%)
HSVhsv(53, 76%, 71%)
CMYKcmyk(0%, 9.4%, 76.1%, 29.4%)
CIE-LABlab(66.58, -6.81, 60.23)
CIE-LCHlch(66.58, 60.61, 96.45°)
OKLaboklab(70.96% -0.0253 0.132)
OKLCHoklch(70.96% 0.134 100.9)
XYZxyz(32.3572, 36.0736, 7.5436)
Luminance0.3607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A32B #2B3CB4
analogous
#B45E2B #B4A32B #80B42B
triadic
#B4A32B #2BB4A3 #A32BB4
tetradic
#B4A32B #2BB45E #2B3CB4 #B42B80
square
#B4A32B #2BB45E #2B3CB4 #B42B80
split-complementary
#B4A32B #2B80B4 #5E2BB4
monochromatic
#514A13 #83761F #B4A32B #D3C249 #DFD37A

Accessibility & contrast

On white

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

On black

8.21
#B4A32B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A32B
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A32B#FFFFFF#000000##000000
##B4A32B1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4a32b;
/* rgb */ color: rgb(180, 163, 43);
/* oklch */ color: oklch(71.0% 0.134 100.9);
Tailwind
colors: {
  custom: {
    50: '#cebd6e',
    500: '#b4a32b',
    950: '#000000',
  },
}
SCSS
$custom: #b4a32b;
$custom-light: #cebd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a32b",
  "rgb": {
    "r": 180,
    "g": 163,
    "b": 43
  },
  "hsl": {
    "h": 52.555,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70955,
    "c": 0.13436,
    "h": 100.9
  },
  "luminance": 0.36072
}

Semantic roles & 50–950 ramp

primary
#B4A32B
secondary
#737EC7
accent
#57E543
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A32B

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

Preview Lab → · Contrast checker → · Palette generator →

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