#B2C950#B2C950

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

Color values

HEX#B2C950
RGBrgb(178, 201, 80)
HSLhsl(71, 53%, 55%)
HSVhsv(71, 60%, 79%)
CMYKcmyk(11.4%, 0%, 60.2%, 21.2%)
CIE-LABlab(77.17, -24.75, 56.33)
CIE-LCHlch(77.17, 61.53, 113.72°)
OKLaboklab(79.47% -0.0719 0.1297)
OKLCHoklch(79.47% 0.148 119)
XYZxyz(40.6953, 51.8177, 15.4458)
Luminance0.5182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C950 #6750C9
analogous
#C9A350 #B2C950 #75C950
triadic
#B2C950 #50B2C9 #C950B2
tetradic
#B2C950 #50C9A3 #6750C9 #C95075
square
#B2C950 #50C9A3 #6750C9 #C95075
split-complementary
#B2C950 #5075C9 #A350C9
monochromatic
#697925 #92A834 #B2C950 #C7D77F #DBE6AE

Accessibility & contrast

On white

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

On black

11.36
#B2C950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C950
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C950#FFFFFF#000000##000000
##B2C9501.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2c950;
/* rgb */ color: rgb(178, 201, 80);
/* oklch */ color: oklch(79.5% 0.148 119.0);
Tailwind
colors: {
  custom: {
    50: '#ccd986',
    500: '#b2c950',
    950: '#000000',
  },
}
SCSS
$custom: #b2c950;
$custom-light: #ccd986;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c950",
  "rgb": {
    "r": 178,
    "g": 201,
    "b": 80
  },
  "hsl": {
    "h": 71.405,
    "s": 52.838,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79468,
    "c": 0.14826,
    "h": 119
  },
  "luminance": 0.51817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2C950

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

Preview Lab → · Contrast checker → · Palette generator →

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