#B2D173#B2D173

#B2D173 is a light, vivid yellow-green. Relative luminance 0.563; OKLCH L 81.7% C 0.126 H 124.1°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#B2D173
RGBrgb(178, 209, 115)
HSLhsl(80, 51%, 64%)
HSVhsv(80, 45%, 82%)
CMYKcmyk(14.8%, 0%, 45%, 18%)
CIE-LABlab(79.79, -25.34, 43.09)
CIE-LCHlch(79.79, 49.98, 120.46°)
OKLaboklab(81.69% -0.0704 0.104)
OKLCHoklch(81.69% 0.126 124.1)
XYZxyz(44.2550, 56.3035, 24.7525)
Luminance0.5630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D173 #9273D1
analogous
#D1C173 #B2D173 #83D173
triadic
#B2D173 #73B2D1 #D173B2
tetradic
#B2D173 #73D1C1 #9273D1 #D17383
square
#B2D173 #73D1C1 #9273D1 #D17383
split-complementary
#B2D173 #7383D1 #C173D1
monochromatic
#769832 #99C245 #B2D173 #CBE0A1 #E5EFCF

Accessibility & contrast

On white

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

On black

12.26
#B2D173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2D173
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2D173#FFFFFF#000000##000000
##B2D1731.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC76B
Deuteranopia (green-blind)
#D6C678
Tritanopia (blue-blind)
#B8C9BB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #b2d173;
/* rgb */ color: rgb(178, 209, 115);
/* oklch */ color: oklch(81.7% 0.126 124.1);
Tailwind
colors: {
  custom: {
    50: '#cadf9d',
    500: '#b2d173',
    950: '#000000',
  },
}
SCSS
$custom: #b2d173;
$custom-light: #cadf9d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d173",
  "rgb": {
    "r": 178,
    "g": 209,
    "b": 115
  },
  "hsl": {
    "h": 79.787,
    "s": 50.538,
    "l": 63.529
  },
  "oklch": {
    "l": 0.81692,
    "c": 0.1256,
    "h": 124.1
  },
  "luminance": 0.56304
}

Semantic roles & 50–950 ramp

primary
#B2D173
secondary
#664B9D
accent
#28BE59
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #B2D173

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

Preview Lab → · Contrast checker → · Palette generator →

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