#B4B539#B4B539

#B4B539 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.0% C 0.142 H 109.8°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#B4B539
RGBrgb(180, 181, 57)
HSLhsl(60, 52%, 47%)
HSVhsv(60, 69%, 71%)
CMYKcmyk(0.6%, 0%, 68.5%, 29%)
CIE-LABlab(71.59, -15.48, 59.95)
CIE-LCHlch(71.59, 61.91, 104.48°)
OKLaboklab(74.97% -0.0483 0.1339)
OKLCHoklch(74.97% 0.142 109.8)
XYZxyz(36.0860, 43.0475, 10.2782)
Luminance0.4305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B539 #3A39B5
analogous
#B57839 #B4B539 #76B539
triadic
#B4B539 #39B4B5 #B539B4
tetradic
#B4B539 #39B578 #3A39B5 #B53976
square
#B4B539 #39B578 #3A39B5 #B53976
split-complementary
#B4B539 #3976B5 #7839B5
monochromatic
#57581C #86862A #B4B539 #CCCD5F #DBDB8D

Accessibility & contrast

On white

2.19
#B4B539 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#B4B539 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B539
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B539#FFFFFF#000000##000000
##B4B5391.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD26
Deuteranopia (green-blind)
#C5B142
Tritanopia (blue-blind)
#C1AA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b4b539;
/* rgb */ color: rgb(180, 181, 57);
/* oklch */ color: oklch(75.0% 0.142 109.8);
Tailwind
colors: {
  custom: {
    50: '#ceca77',
    500: '#b4b539',
    950: '#000000',
  },
}
SCSS
$custom: #b4b539;
$custom-light: #ceca77;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b539",
  "rgb": {
    "r": 180,
    "g": 181,
    "b": 57
  },
  "hsl": {
    "h": 60.484,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74974,
    "c": 0.14236,
    "h": 109.8
  },
  "luminance": 0.43046
}

Semantic roles & 50–950 ramp

primary
#B4B539
secondary
#8584C6
accent
#4CDC4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B539

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

Preview Lab → · Contrast checker → · Palette generator →

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