#B2BA56#B2BA56

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

Color values

HEX#B2BA56
RGBrgb(178, 186, 86)
HSLhsl(65, 42%, 53%)
HSVhsv(65, 54%, 73%)
CMYKcmyk(4.3%, 0%, 53.8%, 27.1%)
CIE-LABlab(73.06, -16.83, 48.99)
CIE-LCHlch(73.06, 51.81, 108.96°)
OKLaboklab(76.19% -0.049 0.1147)
OKLCHoklch(76.19% 0.125 113.1)
XYZxyz(37.5995, 45.2553, 15.5568)
Luminance0.4526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2BA56 #5E56BA
analogous
#BA9056 #B2BA56 #80BA56
triadic
#B2BA56 #56B2BA #BA56B2
tetradic
#B2BA56 #56BA90 #5E56BA #BA5680
square
#B2BA56 #56BA90 #5E56BA #BA5680
split-complementary
#B2BA56 #5680BA #9056BA
monochromatic
#656A2B #8F963D #B2BA56 #C6CC81 #DADDAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2BA56#FFFFFF#000000##000000
##B2BA561.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)
#C6B24C
Deuteranopia (green-blind)
#C6B55C
Tritanopia (blue-blind)
#BCB0A4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b2ba56;
/* rgb */ color: rgb(178, 186, 86);
/* oklch */ color: oklch(76.2% 0.125 113.1);
Tailwind
colors: {
  custom: {
    50: '#cbce89',
    500: '#b2ba56',
    950: '#000000',
  },
}
SCSS
$custom: #b2ba56;
$custom-light: #cbce89;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ba56",
  "rgb": {
    "r": 178,
    "g": 186,
    "b": 86
  },
  "hsl": {
    "h": 64.8,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76192,
    "c": 0.12469,
    "h": 113.1
  },
  "luminance": 0.45255
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2BA56

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

Preview Lab → · Contrast checker → · Palette generator →

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