#B2D950#B2D950

#B2D950 is a very light, vivid yellow-green. Relative luminance 0.597; OKLCH L 83.1% C 0.168 H 123.6°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#B2D950
RGBrgb(178, 217, 80)
HSLhsl(77, 64%, 58%)
HSVhsv(77, 63%, 85%)
CMYKcmyk(18%, 0%, 63.1%, 14.9%)
CIE-LABlab(81.66, -32.34, 61.20)
CIE-LCHlch(81.66, 69.22, 117.85°)
OKLaboklab(83.08% -0.093 0.14)
OKLCHoklch(83.08% 0.168 123.6)
XYZxyz(44.6213, 59.6696, 16.7545)
Luminance0.5967 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D950 #7750D9
analogous
#D9BB50 #B2D950 #6DD950
triadic
#B2D950 #50B2D9 #D950B2
tetradic
#B2D950 #50D9BB #7750D9 #D9506D
square
#B2D950 #50D9BB #7750D9 #D9506D
split-complementary
#B2D950 #506DD9 #BB50D9
monochromatic
#6F8F1F #97C22A #B2D950 #C8E482 #DEEFB5

Accessibility & contrast

On white

1.62
#B2D950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#B2D950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D950
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D950#FFFFFF#000000##000000
##B2D9501.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC3F
Deuteranopia (green-blind)
#E0CB5A
Tritanopia (blue-blind)
#BACFBD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #b2d950;
/* rgb */ color: rgb(178, 217, 80);
/* oklch */ color: oklch(83.1% 0.168 123.6);
Tailwind
colors: {
  custom: {
    50: '#cce487',
    500: '#b2d950',
    950: '#000000',
  },
}
SCSS
$custom: #b2d950;
$custom-light: #cce487;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d950",
  "rgb": {
    "r": 178,
    "g": 217,
    "b": 80
  },
  "hsl": {
    "h": 77.08,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83081,
    "c": 0.16807,
    "h": 123.6
  },
  "luminance": 0.5967
}

Semantic roles & 50–950 ramp

primary
#B2D950
secondary
#533895
accent
#40E770
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #B2D950

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

Preview Lab → · Contrast checker → · Palette generator →

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