#B4B73A#B4B73A

#B4B73A is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.4% C 0.144 H 110.7°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#B4B73A
RGBrgb(180, 183, 58)
HSLhsl(61, 52%, 47%)
HSVhsv(61, 68%, 72%)
CMYKcmyk(1.6%, 0%, 68.3%, 28.2%)
CIE-LABlab(72.15, -16.44, 60.12)
CIE-LCHlch(72.15, 62.33, 105.29°)
OKLaboklab(75.42% -0.0509 0.1344)
OKLCHoklch(75.42% 0.144 110.7)
XYZxyz(36.5208, 43.8767, 10.5474)
Luminance0.4388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B73A #3D3AB7
analogous
#B77C3A #B4B73A #76B73A
triadic
#B4B73A #3AB4B7 #B73AB4
tetradic
#B4B73A #3AB77C #3D3AB7 #B73A76
square
#B4B73A #3AB77C #3D3AB7 #B73A76
split-complementary
#B4B73A #3A76B7 #7C3AB7
monochromatic
#595A1D #86892B #B4B73A #CACD61 #DADC90

Accessibility & contrast

On white

2.15
#B4B73A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#B4B73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B73A
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B73A#FFFFFF#000000##000000
##B4B73A1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF27
Deuteranopia (green-blind)
#C6B343
Tritanopia (blue-blind)
#C0AC9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b73a;
/* rgb */ color: rgb(180, 183, 58);
/* oklch */ color: oklch(75.4% 0.144 110.7);
Tailwind
colors: {
  custom: {
    50: '#cecc78',
    500: '#b4b73a',
    950: '#000000',
  },
}
SCSS
$custom: #b4b73a;
$custom-light: #cecc78;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b73a",
  "rgb": {
    "r": 180,
    "g": 183,
    "b": 58
  },
  "hsl": {
    "h": 61.44,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.75422,
    "c": 0.14376,
    "h": 110.7
  },
  "luminance": 0.43876
}

Semantic roles & 50–950 ramp

primary
#B4B73A
secondary
#8886C7
accent
#4CDB50
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B73A

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

Preview Lab → · Contrast checker → · Palette generator →

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