#B4A536#B4A536

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

Color values

HEX#B4A536
RGBrgb(180, 165, 54)
HSLhsl(53, 54%, 46%)
HSVhsv(53, 70%, 71%)
CMYKcmyk(0%, 8.3%, 70%, 29.4%)
CIE-LABlab(67.19, -7.34, 56.72)
CIE-LCHlch(67.19, 57.19, 97.38°)
OKLaboklab(71.46% -0.0257 0.1266)
OKLCHoklch(71.46% 0.129 101.5)
XYZxyz(32.9448, 36.8813, 8.8728)
Luminance0.3688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A536 #3645B4
analogous
#B46636 #B4A536 #84B436
triadic
#B4A536 #36B4A5 #A536B4
tetradic
#B4A536 #36B466 #3645B4 #B43684
square
#B4A536 #36B466 #3645B4 #B43684
split-complementary
#B4A536 #3684B4 #6636B4
monochromatic
#564F1A #857A28 #B4A536 #CDC05A #DCD289

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4A536#FFFFFF#000000##000000
##B4A5361.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)
#B4A025
Deuteranopia (green-blind)
#B9A63D
Tritanopia (blue-blind)
#C2998F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b4a536;
/* rgb */ color: rgb(180, 165, 54);
/* oklch */ color: oklch(71.5% 0.129 101.5);
Tailwind
colors: {
  custom: {
    50: '#cebf74',
    500: '#b4a536',
    950: '#000000',
  },
}
SCSS
$custom: #b4a536;
$custom-light: #cebf74;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a536",
  "rgb": {
    "r": 180,
    "g": 165,
    "b": 54
  },
  "hsl": {
    "h": 52.857,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71463,
    "c": 0.12915,
    "h": 101.5
  },
  "luminance": 0.3688
}

Semantic roles & 50–950 ramp

primary
#B4A536
secondary
#8088C6
accent
#5CDD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A536

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

Preview Lab → · Contrast checker → · Palette generator →

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