#B4A541#B4A541

#B4A541 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.121 H 100.8°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B4A541
RGBrgb(180, 165, 65)
HSLhsl(52, 47%, 48%)
HSVhsv(52, 64%, 71%)
CMYKcmyk(0%, 8.3%, 63.9%, 29.4%)
CIE-LABlab(67.27, -6.69, 52.18)
CIE-LCHlch(67.27, 52.61, 97.31°)
OKLaboklab(71.56% -0.0226 0.1188)
OKLCHoklch(71.56% 0.121 100.8)
XYZxyz(33.2330, 36.9966, 10.3905)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A541 #4150B4
analogous
#B46B41 #B4A541 #89B441
triadic
#B4A541 #41B4A5 #A541B4
tetradic
#B4A541 #41B46B #4150B4 #B44189
square
#B4A541 #41B46B #4150B4 #B44189
split-complementary
#B4A541 #4189B4 #6B41B4
monochromatic
#5A5321 #877C31 #B4A541 #C9BC69 #D9D096

Accessibility & contrast

On white

2.50
#B4A541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B4A541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A541
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A541#FFFFFF#000000##000000
##B4A5411.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A035
Deuteranopia (green-blind)
#B8A646
Tritanopia (blue-blind)
#C19A90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b4a541;
/* rgb */ color: rgb(180, 165, 65);
/* oklch */ color: oklch(71.6% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#cdbf7a',
    500: '#b4a541',
    950: '#000000',
  },
}
SCSS
$custom: #b4a541;
$custom-light: #cdbf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a541",
  "rgb": {
    "r": 180,
    "g": 165,
    "b": 65
  },
  "hsl": {
    "h": 52.174,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7156,
    "c": 0.12092,
    "h": 100.8
  },
  "luminance": 0.36995
}

Semantic roles & 50–950 ramp

primary
#B4A541
secondary
#8C93C5
accent
#63D751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A541

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

Preview Lab → · Contrast checker → · Palette generator →

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