#2BAF40#2BAF40

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

Color values

HEX#2BAF40
RGBrgb(43, 175, 64)
HSLhsl(130, 61%, 43%)
HSVhsv(130, 75%, 69%)
CMYKcmyk(75.4%, 0%, 63.4%, 31.4%)
CIE-LABlab(62.96, -57.27, 45.82)
CIE-LCHlch(62.96, 73.34, 141.33°)
OKLaboklab(66.18% -0.1545 0.107)
OKLCHoklch(66.18% 0.188 145.3)
XYZxyz(17.2504, 31.5417, 10.0285)
Luminance0.3154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2BAF40 #AF2B9A
analogous
#58AF2B #2BAF40 #2BAF82
triadic
#2BAF40 #402BAF #AF402B
tetradic
#2BAF40 #2B58AF #AF2B9A #AF822B
square
#2BAF40 #2B58AF #AF2B9A #AF822B
split-complementary
#2BAF40 #822BAF #AF2B58
monochromatic
#134D1C #1F7E2E #2BAF40 #46D15C #77DE87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2BAF40#FFFFFF#000000##000000
##2BAF401.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)
#B29F33
Deuteranopia (green-blind)
#A3944A
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #2baf40;
/* rgb */ color: rgb(43, 175, 64);
/* oklch */ color: oklch(66.2% 0.188 145.3);
Tailwind
colors: {
  custom: {
    50: '#7ac879',
    500: '#2baf40',
    950: '#000000',
  },
}
SCSS
$custom: #2baf40;
$custom-light: #7ac879;
$custom-dark: #000000;
JSON
{
  "hex": "#2baf40",
  "rgb": {
    "r": 43,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 129.545,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66176,
    "c": 0.18794,
    "h": 145.3
  },
  "luminance": 0.31544
}

Semantic roles & 50–950 ramp

primary
#2BAF40
secondary
#C570B8
accent
#44CAE4
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2BAF40

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

Preview Lab → · Contrast checker → · Palette generator →

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