#B4A732#B4A732

#B4A732 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.9% C 0.134 H 102.8°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#B4A732
RGBrgb(180, 167, 50)
HSLhsl(54, 57%, 45%)
HSVhsv(54, 72%, 71%)
CMYKcmyk(0%, 7.2%, 72.2%, 29.4%)
CIE-LABlab(67.70, -8.60, 58.78)
CIE-LCHlch(67.70, 59.40, 98.32°)
OKLaboklab(71.86% -0.0297 0.1302)
OKLCHoklch(71.86% 0.134 102.8)
XYZxyz(33.2183, 37.5724, 8.5194)
Luminance0.3757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A732 #323FB4
analogous
#B46632 #B4A732 #80B432
triadic
#B4A732 #32B4A7 #A732B4
tetradic
#B4A732 #32B466 #323FB4 #B43280
square
#B4A732 #32B466 #323FB4 #B43280
split-complementary
#B4A732 #3280B4 #6632B4
monochromatic
#544E17 #847B25 #B4A732 #CFC354 #DDD484

Accessibility & contrast

On white

2.47
#B4A732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#B4A732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A732
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A732#FFFFFF#000000##000000
##B4A7321.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A21E
Deuteranopia (green-blind)
#BAA83A
Tritanopia (blue-blind)
#C29B90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b4a732;
/* rgb */ color: rgb(180, 167, 50);
/* oklch */ color: oklch(71.9% 0.134 102.8);
Tailwind
colors: {
  custom: {
    50: '#cec072',
    500: '#b4a732',
    950: '#000000',
  },
}
SCSS
$custom: #b4a732;
$custom-light: #cec072;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a732",
  "rgb": {
    "r": 180,
    "g": 167,
    "b": 50
  },
  "hsl": {
    "h": 54,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.71865,
    "c": 0.13353,
    "h": 102.8
  },
  "luminance": 0.37571
}

Semantic roles & 50–950 ramp

primary
#B4A732
secondary
#7C83C6
accent
#57E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A732

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

Preview Lab → · Contrast checker → · Palette generator →

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