#B2BA32#B2BA32

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

Color values

HEX#B2BA32
RGBrgb(178, 186, 50)
HSLhsl(64, 58%, 46%)
HSVhsv(64, 73%, 73%)
CMYKcmyk(4.3%, 0%, 73.1%, 27.1%)
CIE-LABlab(72.77, -19.21, 63.59)
CIE-LCHlch(72.77, 66.43, 106.81°)
OKLaboklab(75.87% -0.0593 0.1404)
OKLCHoklch(75.87% 0.152 112.9)
XYZxyz(36.4959, 44.8139, 9.7444)
Luminance0.4481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA32 #3A32BA
analogous
#BA7E32 #B2BA32 #6EBA32
triadic
#B2BA32 #32B2BA #BA32B2
tetradic
#B2BA32 #32BA7E #3A32BA #BA326E
square
#B2BA32 #32BA7E #3A32BA #BA326E
split-complementary
#B2BA32 #326EBA #7E32BA
monochromatic
#565A18 #848A25 #B2BA32 #CBD257 #DADF88

Accessibility & contrast

On white

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

On black

9.96
#B2BA32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BA32
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BA32#FFFFFF#000000##000000
##B2BA321.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2ba32;
/* rgb */ color: rgb(178, 186, 50);
/* oklch */ color: oklch(75.9% 0.152 112.9);
Tailwind
colors: {
  custom: {
    50: '#cdce74',
    500: '#b2ba32',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba32;
$custom-light: #cdce74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba32",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 50
  },
  "hsl": {
    "h": 63.529,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75866,
    "c": 0.15245,
    "h": 112.9
  },
  "luminance": 0.44813
}

Semantic roles & 50–950 ramp

primary
#B2BA32
secondary
#837FC9
accent
#47E150
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2BA32

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

Preview Lab → · Contrast checker → · Palette generator →

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