#2FA726#2FA726

#2FA726 is a light, vivid green. Relative luminance 0.284; OKLCH L 63.9% C 0.194 H 142.1°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2FA726
RGBrgb(47, 167, 38)
HSLhsl(116, 63%, 40%)
HSVhsv(116, 77%, 65%)
CMYKcmyk(71.9%, 0%, 77.2%, 34.5%)
CIE-LABlab(60.23, -56.35, 53.26)
CIE-LCHlch(60.23, 77.54, 136.62°)
OKLaboklab(63.87% -0.1534 0.1195)
OKLCHoklch(63.87% 0.194 142.1)
XYZxyz(15.3400, 28.3800, 6.5028)
Luminance0.2838 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA726 #9E26A7
analogous
#6FA726 #2FA726 #26A75D
triadic
#2FA726 #262FA7 #A7262F
tetradic
#2FA726 #266FA7 #9E26A7 #A75D26
square
#2FA726 #266FA7 #9E26A7 #A75D26
split-complementary
#2FA726 #5D26A7 #A7266F
monochromatic
#13430F #21751B #2FA726 #43D238 #72DD6A

Accessibility & contrast

On white

3.15
#2FA726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#2FA726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA726
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA726#FFFFFF#000000##000000
##2FA7261.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9706
Deuteranopia (green-blind)
#9D8E35
Tritanopia (blue-blind)
#08A28F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #2fa726;
/* rgb */ color: rgb(47, 167, 38);
/* oklch */ color: oklch(63.9% 0.194 142.1);
Tailwind
colors: {
  custom: {
    50: '#7ac26a',
    500: '#2fa726',
    950: '#000000',
  },
}
SCSS
$custom: #2fa726;
$custom-light: #7ac26a;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa726",
  "rgb": {
    "r": 47,
    "g": 167,
    "b": 38
  },
  "hsl": {
    "h": 115.814,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63868,
    "c": 0.19446,
    "h": 142.1
  },
  "luminance": 0.28382
}

Semantic roles & 50–950 ramp

primary
#2FA726
secondary
#BD65C3
accent
#42E6DB
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #2FA726

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

Preview Lab → · Contrast checker → · Palette generator →

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