#B2D162#B2D162

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

Color values

HEX#B2D162
RGBrgb(178, 209, 98)
HSLhsl(77, 55%, 60%)
HSVhsv(77, 53%, 82%)
CMYKcmyk(14.8%, 0%, 53.1%, 18%)
CIE-LABlab(79.58, -27.08, 50.98)
CIE-LCHlch(79.58, 57.73, 117.97°)
OKLaboklab(81.46% -0.0767 0.1201)
OKLCHoklch(81.46% 0.143 122.6)
XYZxyz(43.3654, 55.9476, 20.0673)
Luminance0.5595 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2D162 #8162D1
analogous
#D1B962 #B2D162 #7AD162
triadic
#B2D162 #62B2D1 #D162B2
tetradic
#B2D162 #62D1B9 #8162D1 #D1627A
square
#B2D162 #62D1B9 #8162D1 #D1627A
split-complementary
#B2D162 #627AD1 #B962D1
monochromatic
#738F2A #99BE38 #B2D162 #C9DF91 #E0EDC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2D162#FFFFFF#000000##000000
##B2D1621.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)
#DCC657
Deuteranopia (green-blind)
#D8C569
Tritanopia (blue-blind)
#BAC8B8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #b2d162;
/* rgb */ color: rgb(178, 209, 98);
/* oklch */ color: oklch(81.5% 0.143 122.6);
Tailwind
colors: {
  custom: {
    50: '#cbdf92',
    500: '#b2d162',
    950: '#000000',
  },
}
SCSS
$custom: #b2d162;
$custom-light: #cbdf92;
$custom-dark: #000000;
JSON
{
  "hex": "#b2d162",
  "rgb": {
    "r": 178,
    "g": 209,
    "b": 98
  },
  "hsl": {
    "h": 76.757,
    "s": 54.68,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81464,
    "c": 0.14252,
    "h": 122.6
  },
  "luminance": 0.55948
}

Semantic roles & 50–950 ramp

primary
#B2D162
secondary
#594295
accent
#23C250
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150D
muted
#83847F

Preview Lab

Preview with #B2D162

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

Preview Lab → · Contrast checker → · Palette generator →

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