#B2D170#B2D170

#B2D170 is a light, vivid yellow-green. Relative luminance 0.562; OKLCH L 81.6% C 0.129 H 123.8°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#B2D170
RGBrgb(178, 209, 112)
HSLhsl(79, 51%, 63%)
HSVhsv(79, 46%, 82%)
CMYKcmyk(14.8%, 0%, 46.4%, 18%)
CIE-LABlab(79.75, -25.67, 44.51)
CIE-LCHlch(79.75, 51.38, 119.97°)
OKLaboklab(81.65% -0.0716 0.107)
OKLCHoklch(81.65% 0.129 123.8)
XYZxyz(44.0852, 56.2356, 23.8581)
Luminance0.5624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D170 #8F70D1
analogous
#D1BF70 #B2D170 #81D170
triadic
#B2D170 #70B2D1 #D170B2
tetradic
#B2D170 #70D1BF #8F70D1 #D17081
square
#B2D170 #70D1BF #8F70D1 #D17081
split-complementary
#B2D170 #7081D1 #BF70D1
monochromatic
#769630 #99C242 #B2D170 #CBE09E #E4EFCD

Accessibility & contrast

On white

1.71
#B2D170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#B2D170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D170
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D170#FFFFFF#000000##000000
##B2D1701.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC768
Deuteranopia (green-blind)
#D6C575
Tritanopia (blue-blind)
#B8C9BA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b2d170;
/* rgb */ color: rgb(178, 209, 112);
/* oklch */ color: oklch(81.6% 0.129 123.8);
Tailwind
colors: {
  custom: {
    50: '#cadf9b',
    500: '#b2d170',
    950: '#000000',
  },
}
SCSS
$custom: #b2d170;
$custom-light: #cadf9b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d170",
  "rgb": {
    "r": 178,
    "g": 209,
    "b": 112
  },
  "hsl": {
    "h": 79.175,
    "s": 51.323,
    "l": 62.941
  },
  "oklch": {
    "l": 0.81648,
    "c": 0.12872,
    "h": 123.8
  },
  "luminance": 0.56236
}

Semantic roles & 50–950 ramp

primary
#B2D170
secondary
#64499C
accent
#27BF57
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #B2D170

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

Preview Lab → · Contrast checker → · Palette generator →

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