#B2BA34#B2BA34

#B2BA34 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 75.9% C 0.151 H 112.9°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#B2BA34
RGBrgb(178, 186, 52)
HSLhsl(64, 56%, 47%)
HSVhsv(64, 72%, 73%)
CMYKcmyk(4.3%, 0%, 72%, 27.1%)
CIE-LABlab(72.78, -19.11, 62.91)
CIE-LCHlch(72.78, 65.74, 106.90°)
OKLaboklab(75.88% -0.0589 0.1394)
OKLCHoklch(75.88% 0.151 112.9)
XYZxyz(36.5400, 44.8315, 9.9766)
Luminance0.4483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA34 #3C34BA
analogous
#BA7F34 #B2BA34 #6FBA34
triadic
#B2BA34 #34B2BA #BA34B2
tetradic
#B2BA34 #34BA7F #3C34BA #BA346F
square
#B2BA34 #34BA7F #3C34BA #BA346F
split-complementary
#B2BA34 #346FBA #7F34BA
monochromatic
#565A19 #848A27 #B2BA34 #CAD15A #D9DE8A

Accessibility & contrast

On white

2.11
#B2BA34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#B2BA34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BA34
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BA34#FFFFFF#000000##000000
##B2BA341.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2ba34;
/* rgb */ color: rgb(178, 186, 52);
/* oklch */ color: oklch(75.9% 0.151 112.9);
Tailwind
colors: {
  custom: {
    50: '#ccce75',
    500: '#b2ba34',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba34;
$custom-light: #ccce75;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba34",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 52
  },
  "hsl": {
    "h": 63.582,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75879,
    "c": 0.15127,
    "h": 112.9
  },
  "luminance": 0.44831
}

Semantic roles & 50–950 ramp

primary
#B2BA34
secondary
#8681C8
accent
#48E051
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2BA34

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

Preview Lab → · Contrast checker → · Palette generator →

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