#B2BA37#B2BA37

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

Color values

HEX#B2BA37
RGBrgb(178, 186, 55)
HSLhsl(64, 54%, 47%)
HSVhsv(64, 70%, 73%)
CMYKcmyk(4.3%, 0%, 70.4%, 27.1%)
CIE-LABlab(72.80, -18.96, 61.84)
CIE-LCHlch(72.80, 64.69, 107.05°)
OKLaboklab(75.9% -0.0581 0.1376)
OKLCHoklch(75.9% 0.149 112.9)
XYZxyz(36.6097, 44.8594, 10.3439)
Luminance0.4486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA37 #3F37BA
analogous
#BA8137 #B2BA37 #71BA37
triadic
#B2BA37 #37B2BA #BA37B2
tetradic
#B2BA37 #37BA81 #3F37BA #BA3771
square
#B2BA37 #37BA81 #3F37BA #BA3771
split-complementary
#B2BA37 #3771BA #8137BA
monochromatic
#585C1B #858B29 #B2BA37 #C9D05F #D9DE8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2BA37#FFFFFF#000000##000000
##B2BA371.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)
#C8B121
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#BEAFA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2ba37;
/* rgb */ color: rgb(178, 186, 55);
/* oklch */ color: oklch(75.9% 0.149 112.9);
Tailwind
colors: {
  custom: {
    50: '#ccce76',
    500: '#b2ba37',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba37;
$custom-light: #ccce76;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba37",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 55
  },
  "hsl": {
    "h": 63.664,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.759,
    "c": 0.1494,
    "h": 112.9
  },
  "luminance": 0.44859
}

Semantic roles & 50–950 ramp

primary
#B2BA37
secondary
#8985C8
accent
#4ADE53
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2BA37

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

Preview Lab → · Contrast checker → · Palette generator →

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