#2BAF42#2BAF42

#2BAF42 is a light, vivid green. Relative luminance 0.316; OKLCH L 66.2% C 0.186 H 145.6°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2BAF42
RGBrgb(43, 175, 66)
HSLhsl(130, 61%, 43%)
HSVhsv(130, 75%, 69%)
CMYKcmyk(75.4%, 0%, 62.3%, 31.4%)
CIE-LABlab(62.98, -57.03, 44.95)
CIE-LCHlch(62.98, 72.61, 141.76°)
OKLaboklab(66.2% -0.1538 0.1053)
OKLCHoklch(66.2% 0.186 145.6)
XYZxyz(17.3084, 31.5649, 10.3336)
Luminance0.3157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2BAF42 #AF2B98
analogous
#56AF2B #2BAF42 #2BAF84
triadic
#2BAF42 #422BAF #AF422B
tetradic
#2BAF42 #2B56AF #AF2B98 #AF842B
square
#2BAF42 #2B56AF #AF2B98 #AF842B
split-complementary
#2BAF42 #842BAF #AF2B56
monochromatic
#134D1D #1F7E2F #2BAF42 #46D15E #77DE89

Accessibility & contrast

On white

2.87
#2BAF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#2BAF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2BAF42
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2BAF42#FFFFFF#000000##000000
##2BAF421.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F36
Deuteranopia (green-blind)
#A3944B
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #2baf42;
/* rgb */ color: rgb(43, 175, 66);
/* oklch */ color: oklch(66.2% 0.186 145.6);
Tailwind
colors: {
  custom: {
    50: '#7ac87a',
    500: '#2baf42',
    950: '#000000',
  },
}
SCSS
$custom: #2baf42;
$custom-light: #7ac87a;
$custom-dark: #000000;
JSON
{
  "hex": "#2baf42",
  "rgb": {
    "r": 43,
    "g": 175,
    "b": 66
  },
  "hsl": {
    "h": 130.455,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66198,
    "c": 0.18641,
    "h": 145.6
  },
  "luminance": 0.31567
}

Semantic roles & 50–950 ramp

primary
#2BAF42
secondary
#C570B7
accent
#44C8E4
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2BAF42

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

Preview Lab → · Contrast checker → · Palette generator →

#2BAF42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva