#2BAF21#2BAF21

#2BAF21 is a light, highly saturated green. Relative luminance 0.313; OKLCH L 65.9% C 0.207 H 142.1°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2BAF21
RGBrgb(43, 175, 33)
HSLhsl(116, 68%, 41%)
HSVhsv(116, 81%, 69%)
CMYKcmyk(75.4%, 0%, 81.1%, 31.4%)
CIE-LABlab(62.74, -59.93, 57.20)
CIE-LCHlch(62.74, 82.84, 136.34°)
OKLaboklab(65.93% -0.1631 0.127)
OKLCHoklch(65.93% 0.207 142.1)
XYZxyz(16.5998, 31.2814, 6.6016)
Luminance0.3128 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2BAF21 #A521AF
analogous
#72AF21 #2BAF21 #21AF5E
triadic
#2BAF21 #212BAF #AF212B
tetradic
#2BAF21 #2172AF #A521AF #AF5E21
square
#2BAF21 #2172AF #A521AF #AF5E21
split-complementary
#2BAF21 #5E21AF #AF2172
monochromatic
#12480E #1E7C17 #2BAF21 #40D934 #71E368

Accessibility & contrast

On white

2.89
#2BAF21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#2BAF21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2BAF21
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2BAF21#FFFFFF#000000##000000
##2BAF211.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#A59433
Tritanopia (blue-blind)
#00AA95
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #2baf21;
/* rgb */ color: rgb(43, 175, 33);
/* oklch */ color: oklch(65.9% 0.207 142.1);
Tailwind
colors: {
  custom: {
    50: '#7bc869',
    500: '#2baf21',
    950: '#000000',
  },
}
SCSS
$custom: #2baf21;
$custom-light: #7bc869;
$custom-dark: #000000;
JSON
{
  "hex": "#2baf21",
  "rgb": {
    "r": 43,
    "g": 175,
    "b": 33
  },
  "hsl": {
    "h": 115.775,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65925,
    "c": 0.20675,
    "h": 142.1
  },
  "luminance": 0.31283
}

Semantic roles & 50–950 ramp

primary
#2BAF21
secondary
#C164C8
accent
#3DEBDF
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2BAF21

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

Preview Lab → · Contrast checker → · Palette generator →

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