#B2D161#B2D161

#B2D161 is a light, vivid yellow-green. Relative luminance 0.559; OKLCH L 81.5% C 0.143 H 122.5°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#B2D161
RGBrgb(178, 209, 97)
HSLhsl(77, 55%, 60%)
HSVhsv(77, 54%, 82%)
CMYKcmyk(14.8%, 0%, 53.6%, 18%)
CIE-LABlab(79.57, -27.17, 51.43)
CIE-LCHlch(79.57, 58.17, 117.85°)
OKLaboklab(81.45% -0.077 0.121)
OKLCHoklch(81.45% 0.143 122.5)
XYZxyz(43.3185, 55.9289, 19.8202)
Luminance0.5593 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D161 #8061D1
analogous
#D1B861 #B2D161 #7AD161
triadic
#B2D161 #61B2D1 #D161B2
tetradic
#B2D161 #61D1B8 #8061D1 #D1617A
square
#B2D161 #61D1B8 #8061D1 #D1617A
split-complementary
#B2D161 #617AD1 #B861D1
monochromatic
#728E29 #98BE37 #B2D161 #C9DF90 #E0EDC0

Accessibility & contrast

On white

1.72
#B2D161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#B2D161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D161
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D161#FFFFFF#000000##000000
##B2D1611.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC656
Deuteranopia (green-blind)
#D8C568
Tritanopia (blue-blind)
#BAC8B8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b2d161;
/* rgb */ color: rgb(178, 209, 97);
/* oklch */ color: oklch(81.5% 0.143 122.5);
Tailwind
colors: {
  custom: {
    50: '#cbdf91',
    500: '#b2d161',
    950: '#000000',
  },
}
SCSS
$custom: #b2d161;
$custom-light: #cbdf91;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d161",
  "rgb": {
    "r": 178,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 76.607,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.81452,
    "c": 0.14346,
    "h": 122.5
  },
  "luminance": 0.55929
}

Semantic roles & 50–950 ramp

primary
#B2D161
secondary
#594294
accent
#4ADE73
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150D
muted
#83847F

Preview Lab

Preview with #B2D161

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

Preview Lab → · Contrast checker → · Palette generator →

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