#B4A539#B4A539

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

Color values

HEX#B4A539
RGBrgb(180, 165, 57)
HSLhsl(53, 52%, 46%)
HSVhsv(53, 68%, 71%)
CMYKcmyk(0%, 8.3%, 68.3%, 29.4%)
CIE-LABlab(67.21, -7.18, 55.53)
CIE-LCHlch(67.21, 55.99, 97.37°)
OKLaboklab(71.49% -0.0249 0.1246)
OKLCHoklch(71.49% 0.127 101.3)
XYZxyz(33.0175, 36.9104, 9.2554)
Luminance0.3691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A539 #3948B4
analogous
#B46839 #B4A539 #86B439
triadic
#B4A539 #39B4A5 #A539B4
tetradic
#B4A539 #39B468 #3948B4 #B43986
square
#B4A539 #39B468 #3948B4 #B43986
split-complementary
#B4A539 #3986B4 #6839B4
monochromatic
#57501C #867A2A #B4A539 #CCBF5E #DBD18D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4A539#FFFFFF#000000##000000
##B4A5391.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)
#B4A02A
Deuteranopia (green-blind)
#B8A63F
Tritanopia (blue-blind)
#C2998F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b4a539;
/* rgb */ color: rgb(180, 165, 57);
/* oklch */ color: oklch(71.5% 0.127 101.3);
Tailwind
colors: {
  custom: {
    50: '#cebf75',
    500: '#b4a539',
    950: '#000000',
  },
}
SCSS
$custom: #b4a539;
$custom-light: #cebf75;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a539",
  "rgb": {
    "r": 180,
    "g": 165,
    "b": 57
  },
  "hsl": {
    "h": 52.683,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71488,
    "c": 0.12704,
    "h": 101.3
  },
  "luminance": 0.36909
}

Semantic roles & 50–950 ramp

primary
#B4A539
secondary
#838CC5
accent
#5EDB4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B4A539

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

Preview Lab → · Contrast checker → · Palette generator →

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