#B2BA55#B2BA55

#B2BA55 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.2% C 0.126 H 113.1°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#B2BA55
RGBrgb(178, 186, 85)
HSLhsl(65, 42%, 53%)
HSVhsv(65, 54%, 73%)
CMYKcmyk(4.3%, 0%, 54.3%, 27.1%)
CIE-LABlab(73.05, -16.92, 49.45)
CIE-LCHlch(73.05, 52.27, 108.89°)
OKLaboklab(76.18% -0.0493 0.1156)
OKLCHoklch(76.18% 0.126 113.1)
XYZxyz(37.5595, 45.2393, 15.3460)
Luminance0.4524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA55 #5D55BA
analogous
#BA8F55 #B2BA55 #80BA55
triadic
#B2BA55 #55B2BA #BA55B2
tetradic
#B2BA55 #55BA8F #5D55BA #BA5580
square
#B2BA55 #55BA8F #5D55BA #BA5580
split-complementary
#B2BA55 #5580BA #8F55BA
monochromatic
#656A2B #8E953D #B2BA55 #C6CC81 #D9DDAC

Accessibility & contrast

On white

2.09
#B2BA55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#B2BA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2BA55
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2BA55#FFFFFF#000000##000000
##B2BA551.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24B
Deuteranopia (green-blind)
#C6B45B
Tritanopia (blue-blind)
#BCB0A4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2ba55;
/* rgb */ color: rgb(178, 186, 85);
/* oklch */ color: oklch(76.2% 0.126 113.1);
Tailwind
colors: {
  custom: {
    50: '#cbce88',
    500: '#b2ba55',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba55;
$custom-light: #cbce88;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba55",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 85
  },
  "hsl": {
    "h": 64.752,
    "s": 42.259,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7618,
    "c": 0.12564,
    "h": 113.1
  },
  "luminance": 0.45239
}

Semantic roles & 50–950 ramp

primary
#B2BA55
secondary
#A3A0CB
accent
#56D260
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B2BA55

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

Preview Lab → · Contrast checker → · Palette generator →

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