#B2BA33#B2BA33

#B2BA33 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#B2BA33
RGBrgb(178, 186, 51)
HSLhsl(64, 57%, 46%)
HSVhsv(64, 73%, 73%)
CMYKcmyk(4.3%, 0%, 72.6%, 27.1%)
CIE-LABlab(72.77, -19.16, 63.25)
CIE-LCHlch(72.77, 66.09, 106.85°)
OKLaboklab(75.87% -0.0591 0.1399)
OKLCHoklch(75.87% 0.152 112.9)
XYZxyz(36.5177, 44.8226, 9.8593)
Luminance0.4482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA33 #3B33BA
analogous
#BA7F33 #B2BA33 #6EBA33
triadic
#B2BA33 #33B2BA #BA33B2
tetradic
#B2BA33 #33BA7F #3B33BA #BA336E
square
#B2BA33 #33BA7F #3B33BA #BA336E
split-complementary
#B2BA33 #336EBA #7F33BA
monochromatic
#565A19 #848A26 #B2BA33 #CAD159 #DADF89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2BA33#FFFFFF#000000##000000
##B2BA331.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)
#C8B119
Deuteranopia (green-blind)
#C8B43E
Tritanopia (blue-blind)
#BEAFA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2ba33;
/* rgb */ color: rgb(178, 186, 51);
/* oklch */ color: oklch(75.9% 0.152 112.9);
Tailwind
colors: {
  custom: {
    50: '#ccce74',
    500: '#b2ba33',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba33;
$custom-light: #ccce74;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba33",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 51
  },
  "hsl": {
    "h": 63.556,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75873,
    "c": 0.15186,
    "h": 112.9
  },
  "luminance": 0.44822
}

Semantic roles & 50–950 ramp

primary
#B2BA33
secondary
#8580C9
accent
#48E051
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2BA33

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

Preview Lab → · Contrast checker → · Palette generator →

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