#2BAF28#2BAF28

#2BAF28 is a light, highly saturated green. Relative luminance 0.313; OKLCH L 66.0% C 0.203 H 142.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#2BAF28
RGBrgb(43, 175, 40)
HSLhsl(119, 63%, 42%)
HSVhsv(119, 77%, 69%)
CMYKcmyk(75.4%, 0%, 77.1%, 31.4%)
CIE-LABlab(62.78, -59.48, 55.05)
CIE-LCHlch(62.78, 81.05, 137.21°)
OKLaboklab(65.97% -0.1616 0.1235)
OKLCHoklch(65.97% 0.203 142.6)
XYZxyz(16.7082, 31.3248, 7.1728)
Luminance0.3133 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2BAF28 #AC28AF
analogous
#6EAF28 #2BAF28 #28AF69
triadic
#2BAF28 #282BAF #AF282B
tetradic
#2BAF28 #286EAF #AC28AF #AF6928
square
#2BAF28 #286EAF #AC28AF #AF6928
split-complementary
#2BAF28 #6928AF #AF286E
monochromatic
#134B11 #1F7D1D #2BAF28 #44D441 #75DF73

Accessibility & contrast

On white

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

On black

7.27
#2BAF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2BAF28
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2BAF28#FFFFFF#000000##000000
##2BAF281.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E05
Deuteranopia (green-blind)
#A49437
Tritanopia (blue-blind)
#00AA96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #2baf28;
/* rgb */ color: rgb(43, 175, 40);
/* oklch */ color: oklch(66.0% 0.203 142.6);
Tailwind
colors: {
  custom: {
    50: '#7bc86c',
    500: '#2baf28',
    950: '#000000',
  },
}
SCSS
$custom: #2baf28;
$custom-light: #7bc86c;
$custom-dark: #000000;
JSON
{
  "hex": "#2baf28",
  "rgb": {
    "r": 43,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 118.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65967,
    "c": 0.20341,
    "h": 142.6
  },
  "luminance": 0.31327
}

Semantic roles & 50–950 ramp

primary
#2BAF28
secondary
#C46DC6
accent
#42E6E2
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2BAF28

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

Preview Lab → · Contrast checker → · Palette generator →

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