#B4A533#B4A533

#B4A533 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#B4A533
RGBrgb(180, 165, 51)
HSLhsl(53, 56%, 45%)
HSVhsv(53, 72%, 71%)
CMYKcmyk(0%, 8.3%, 71.7%, 29.4%)
CIE-LABlab(67.17, -7.50, 57.87)
CIE-LCHlch(67.17, 58.35, 97.38°)
OKLaboklab(71.44% -0.0265 0.1285)
OKLCHoklch(71.44% 0.131 101.6)
XYZxyz(32.8765, 36.8540, 8.5131)
Luminance0.3685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A533 #3342B4
analogous
#B46433 #B4A533 #83B433
triadic
#B4A533 #33B4A5 #A533B4
tetradic
#B4A533 #33B464 #3342B4 #B43383
square
#B4A533 #33B464 #3342B4 #B43383
split-complementary
#B4A533 #3383B4 #6433B4
monochromatic
#554E18 #847925 #B4A533 #CFC155 #DCD285

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4A533#FFFFFF#000000##000000
##B4A5331.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)
#B4A021
Deuteranopia (green-blind)
#B9A63A
Tritanopia (blue-blind)
#C2998E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b4a533;
/* rgb */ color: rgb(180, 165, 51);
/* oklch */ color: oklch(71.4% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#cebf72',
    500: '#b4a533',
    950: '#000000',
  },
}
SCSS
$custom: #b4a533;
$custom-light: #cebf72;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a533",
  "rgb": {
    "r": 180,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 53.023,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.7144,
    "c": 0.13117,
    "h": 101.6
  },
  "luminance": 0.36853
}

Semantic roles & 50–950 ramp

primary
#B4A533
secondary
#7D85C6
accent
#5ADF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B4A533

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

Preview Lab → · Contrast checker → · Palette generator →

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