#B4A537#B4A537

#B4A537 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.5% C 0.128 H 101.4°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#B4A537
RGBrgb(180, 165, 55)
HSLhsl(53, 53%, 46%)
HSVhsv(53, 69%, 71%)
CMYKcmyk(0%, 8.3%, 69.4%, 29.4%)
CIE-LABlab(67.19, -7.29, 56.33)
CIE-LCHlch(67.19, 56.80, 97.37°)
OKLaboklab(71.47% -0.0254 0.1259)
OKLCHoklch(71.47% 0.128 101.4)
XYZxyz(32.9685, 36.8908, 8.9977)
Luminance0.3689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A537 #3746B4
analogous
#B46637 #B4A537 #84B437
triadic
#B4A537 #37B4A5 #A537B4
tetradic
#B4A537 #37B466 #3746B4 #B43784
square
#B4A537 #37B466 #3746B4 #B43784
split-complementary
#B4A537 #3784B4 #6637B4
monochromatic
#564F1A #857A29 #B4A537 #CDBF5B #DBD28A

Accessibility & contrast

On white

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

On black

8.38
#B4A537 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A537
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A537#FFFFFF#000000##000000
##B4A5371.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A027
Deuteranopia (green-blind)
#B9A63E
Tritanopia (blue-blind)
#C2998F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b4a537;
/* rgb */ color: rgb(180, 165, 55);
/* oklch */ color: oklch(71.5% 0.128 101.4);
Tailwind
colors: {
  custom: {
    50: '#cebf74',
    500: '#b4a537',
    950: '#000000',
  },
}
SCSS
$custom: #b4a537;
$custom-light: #cebf74;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a537",
  "rgb": {
    "r": 180,
    "g": 165,
    "b": 55
  },
  "hsl": {
    "h": 52.8,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71471,
    "c": 0.12846,
    "h": 101.4
  },
  "luminance": 0.36889
}

Semantic roles & 50–950 ramp

primary
#B4A537
secondary
#8189C6
accent
#5DDD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A537

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

Preview Lab → · Contrast checker → · Palette generator →

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