#B2BA41#B2BA41

#B2BA41 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.0% C 0.142 H 112.9°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#B2BA41
RGBrgb(178, 186, 65)
HSLhsl(64, 48%, 49%)
HSVhsv(64, 65%, 73%)
CMYKcmyk(4.3%, 0%, 65.1%, 27.1%)
CIE-LABlab(72.87, -18.39, 58.04)
CIE-LCHlch(72.87, 60.88, 107.58°)
OKLaboklab(75.98% -0.0556 0.1312)
OKLCHoklch(75.98% 0.143 112.9)
XYZxyz(36.8741, 44.9652, 11.7367)
Luminance0.4496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA41 #4941BA
analogous
#BA8641 #B2BA41 #76BA41
triadic
#B2BA41 #41B2BA #BA41B2
tetradic
#B2BA41 #41BA86 #4941BA #BA4176
square
#B2BA41 #41BA86 #4941BA #BA4176
split-complementary
#B2BA41 #4176BA #8641BA
monochromatic
#5B5F21 #878D31 #B2BA41 #C5CC6C #D7DC9A

Accessibility & contrast

On white

2.10
#B2BA41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#B2BA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BA41
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BA41#FFFFFF#000000##000000
##B2BA411.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B131
Deuteranopia (green-blind)
#C7B449
Tritanopia (blue-blind)
#BDAFA1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2ba41;
/* rgb */ color: rgb(178, 186, 65);
/* oklch */ color: oklch(76.0% 0.142 112.9);
Tailwind
colors: {
  custom: {
    50: '#ccce7c',
    500: '#b2ba41',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba41;
$custom-light: #ccce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba41",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 65
  },
  "hsl": {
    "h": 63.967,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.75978,
    "c": 0.1425,
    "h": 112.9
  },
  "luminance": 0.44964
}

Semantic roles & 50–950 ramp

primary
#B2BA41
secondary
#938FC8
accent
#50D859
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2BA41

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

Preview Lab → · Contrast checker → · Palette generator →

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