#B2C951#B2C951

#B2C951 is a light, vivid yellow-green. Relative luminance 0.518; OKLCH L 79.5% C 0.147 H 119.0°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#B2C951
RGBrgb(178, 201, 81)
HSLhsl(72, 53%, 55%)
HSVhsv(72, 60%, 79%)
CMYKcmyk(11.4%, 0%, 59.7%, 21.2%)
CIE-LABlab(77.18, -24.67, 55.91)
CIE-LCHlch(77.18, 61.11, 113.81°)
OKLaboklab(79.48% -0.0715 0.1289)
OKLCHoklch(79.48% 0.147 119)
XYZxyz(40.7325, 51.8326, 15.6419)
Luminance0.5183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C951 #6851C9
analogous
#C9A451 #B2C951 #76C951
triadic
#B2C951 #51B2C9 #C951B2
tetradic
#B2C951 #51C9A4 #6851C9 #C95176
square
#B2C951 #51C9A4 #6851C9 #C95176
split-complementary
#B2C951 #5176C9 #A451C9
monochromatic
#6A7A26 #92A934 #B2C951 #C7D780 #DBE6AE

Accessibility & contrast

On white

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

On black

11.37
#B2C951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C951
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C951#FFFFFF#000000##000000
##B2C9511.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF43
Deuteranopia (green-blind)
#D2BF59
Tritanopia (blue-blind)
#BBBFAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b2c951;
/* rgb */ color: rgb(178, 201, 81);
/* oklch */ color: oklch(79.5% 0.147 119.0);
Tailwind
colors: {
  custom: {
    50: '#cbd986',
    500: '#b2c951',
    950: '#000000',
  },
}
SCSS
$custom: #b2c951;
$custom-light: #cbd986;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c951",
  "rgb": {
    "r": 178,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 71.5,
    "s": 52.632,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79478,
    "c": 0.14743,
    "h": 119
  },
  "luminance": 0.51832
}

Semantic roles & 50–950 ramp

primary
#B2C951
secondary
#493C82
accent
#4CDC67
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B2C951

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

Preview Lab → · Contrast checker → · Palette generator →

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