#B4BA34#B4BA34

#B4BA34 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.0% C 0.151 H 112.1°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#B4BA34
RGBrgb(180, 186, 52)
HSLhsl(63, 56%, 47%)
HSVhsv(63, 72%, 73%)
CMYKcmyk(3.2%, 0%, 72%, 27.1%)
CIE-LABlab(72.94, -18.26, 63.11)
CIE-LCHlch(72.94, 65.70, 106.14°)
OKLaboklab(76.04% -0.0566 0.1397)
OKLCHoklch(76.04% 0.151 112.1)
XYZxyz(37.0023, 45.0699, 9.9983)
Luminance0.4507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BA34 #3A34BA
analogous
#BA7D34 #B4BA34 #71BA34
triadic
#B4BA34 #34B4BA #BA34B4
tetradic
#B4BA34 #34BA7D #3A34BA #BA3471
square
#B4BA34 #34BA7D #3A34BA #BA3471
split-complementary
#B4BA34 #3471BA #7D34BA
monochromatic
#575A19 #868A27 #B4BA34 #CCD15A #DBDE8A

Accessibility & contrast

On white

2.10
#B4BA34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#B4BA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BA34
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BA34#FFFFFF#000000##000000
##B4BA341.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B11B
Deuteranopia (green-blind)
#C9B53F
Tritanopia (blue-blind)
#C0AFA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b4ba34;
/* rgb */ color: rgb(180, 186, 52);
/* oklch */ color: oklch(76.0% 0.151 112.1);
Tailwind
colors: {
  custom: {
    50: '#cece75',
    500: '#b4ba34',
    950: '#000000',
  },
}
SCSS
$custom: #b4ba34;
$custom-light: #cece75;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ba34",
  "rgb": {
    "r": 180,
    "g": 186,
    "b": 52
  },
  "hsl": {
    "h": 62.687,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76044,
    "c": 0.15074,
    "h": 112.1
  },
  "luminance": 0.45069
}

Semantic roles & 50–950 ramp

primary
#B4BA34
secondary
#8581C8
accent
#48E04F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4BA34

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

Preview Lab → · Contrast checker → · Palette generator →

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