#B2BA36#B2BA36

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

Color values

HEX#B2BA36
RGBrgb(178, 186, 54)
HSLhsl(64, 55%, 47%)
HSVhsv(64, 71%, 73%)
CMYKcmyk(4.3%, 0%, 71%, 27.1%)
CIE-LABlab(72.79, -19.01, 62.20)
CIE-LCHlch(72.79, 65.04, 107.00°)
OKLaboklab(75.89% -0.0584 0.1382)
OKLCHoklch(75.89% 0.15 112.9)
XYZxyz(36.5860, 44.8499, 10.2189)
Luminance0.4485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA36 #3E36BA
analogous
#BA8036 #B2BA36 #70BA36
triadic
#B2BA36 #36B2BA #BA36B2
tetradic
#B2BA36 #36BA80 #3E36BA #BA3670
square
#B2BA36 #36BA80 #3E36BA #BA3670
split-complementary
#B2BA36 #3670BA #8036BA
monochromatic
#575B1A #858B28 #B2BA36 #C9D05D #D9DE8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2BA36#FFFFFF#000000##000000
##B2BA361.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)
#C8B11F
Deuteranopia (green-blind)
#C8B440
Tritanopia (blue-blind)
#BEAFA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2ba36;
/* rgb */ color: rgb(178, 186, 54);
/* oklch */ color: oklch(75.9% 0.150 112.9);
Tailwind
colors: {
  custom: {
    50: '#ccce76',
    500: '#b2ba36',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba36;
$custom-light: #ccce76;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba36",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 54
  },
  "hsl": {
    "h": 63.636,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.75893,
    "c": 0.15004,
    "h": 112.9
  },
  "luminance": 0.44849
}

Semantic roles & 50–950 ramp

primary
#B2BA36
secondary
#8884C8
accent
#49DE52
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2BA36

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

Preview Lab → · Contrast checker → · Palette generator →

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