#B2C956#B2C956

#B2C956 is a light, vivid yellow-green. Relative luminance 0.519; OKLCH L 79.5% C 0.143 H 119.3°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#B2C956
RGBrgb(178, 201, 86)
HSLhsl(72, 52%, 56%)
HSVhsv(72, 57%, 79%)
CMYKcmyk(11.4%, 0%, 57.2%, 21.2%)
CIE-LABlab(77.23, -24.27, 53.75)
CIE-LCHlch(77.23, 58.98, 114.30°)
OKLaboklab(79.53% -0.0699 0.1249)
OKLCHoklch(79.53% 0.143 119.3)
XYZxyz(40.9270, 51.9104, 16.6659)
Luminance0.5191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C956 #6D56C9
analogous
#C9A756 #B2C956 #79C956
triadic
#B2C956 #56B2C9 #C956B2
tetradic
#B2C956 #56C9A7 #6D56C9 #C95679
square
#B2C956 #56C9A7 #6D56C9 #C95679
split-complementary
#B2C956 #5679C9 #A756C9
monochromatic
#6C7D28 #94AB37 #B2C956 #C7D884 #DCE7B3

Accessibility & contrast

On white

1.85
#B2C956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#B2C956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C956
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C956#FFFFFF#000000##000000
##B2C9561.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4A
Deuteranopia (green-blind)
#D2BF5D
Tritanopia (blue-blind)
#BBBFB0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b2c956;
/* rgb */ color: rgb(178, 201, 86);
/* oklch */ color: oklch(79.5% 0.143 119.3);
Tailwind
colors: {
  custom: {
    50: '#cbd98a',
    500: '#b2c956',
    950: '#000000',
  },
}
SCSS
$custom: #b2c956;
$custom-light: #cbd98a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c956",
  "rgb": {
    "r": 178,
    "g": 201,
    "b": 86
  },
  "hsl": {
    "h": 72,
    "s": 51.57,
    "l": 56.275
  },
  "oklch": {
    "l": 0.7953,
    "c": 0.14314,
    "h": 119.3
  },
  "luminance": 0.5191
}

Semantic roles & 50–950 ramp

primary
#B2C956
secondary
#4C3E85
accent
#4DDB69
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #B2C956

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

Preview Lab → · Contrast checker → · Palette generator →

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