#B4A53A#B4A53A

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

Color values

HEX#B4A53A
RGBrgb(180, 165, 58)
HSLhsl(53, 51%, 47%)
HSVhsv(53, 68%, 71%)
CMYKcmyk(0%, 8.3%, 67.8%, 29.4%)
CIE-LABlab(67.22, -7.12, 55.12)
CIE-LCHlch(67.22, 55.58, 97.36°)
OKLaboklab(71.5% -0.0246 0.1239)
OKLCHoklch(71.5% 0.126 101.2)
XYZxyz(33.0427, 36.9205, 9.3880)
Luminance0.3692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A53A #3A49B4
analogous
#B4683A #B4A53A #86B43A
triadic
#B4A53A #3AB4A5 #A53AB4
tetradic
#B4A53A #3AB468 #3A49B4 #B43A86
square
#B4A53A #3AB468 #3A49B4 #B43A86
split-complementary
#B4A53A #3A86B4 #683AB4
monochromatic
#57501C #867B2B #B4A53A #CCBE60 #DBD18E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4A53A#FFFFFF#000000##000000
##B4A53A1.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4a53a;
/* rgb */ color: rgb(180, 165, 58);
/* oklch */ color: oklch(71.5% 0.126 101.2);
Tailwind
colors: {
  custom: {
    50: '#cebf76',
    500: '#b4a53a',
    950: '#000000',
  },
}
SCSS
$custom: #b4a53a;
$custom-light: #cebf76;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a53a",
  "rgb": {
    "r": 180,
    "g": 165,
    "b": 58
  },
  "hsl": {
    "h": 52.623,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71496,
    "c": 0.12631,
    "h": 101.2
  },
  "luminance": 0.36919
}

Semantic roles & 50–950 ramp

primary
#B4A53A
secondary
#858DC5
accent
#5EDB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A53A

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

Preview Lab → · Contrast checker → · Palette generator →

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