#2FAF42#2FAF42

#2FAF42 is a light, vivid green. Relative luminance 0.317; OKLCH L 66.3% C 0.185 H 145.3°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2FAF42
RGBrgb(47, 175, 66)
HSLhsl(129, 58%, 44%)
HSVhsv(129, 73%, 69%)
CMYKcmyk(73.1%, 0%, 62.3%, 31.4%)
CIE-LABlab(63.06, -56.40, 45.05)
CIE-LCHlch(63.06, 72.19, 141.38°)
OKLaboklab(66.28% -0.1523 0.1055)
OKLCHoklch(66.28% 0.185 145.3)
XYZxyz(17.4844, 31.6557, 10.3419)
Luminance0.3166 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAF42 #AF2F9C
analogous
#5CAF2F #2FAF42 #2FAF82
triadic
#2FAF42 #422FAF #AF422F
tetradic
#2FAF42 #2F5CAF #AF2F9C #AF822F
square
#2FAF42 #2F5CAF #AF2F9C #AF822F
split-complementary
#2FAF42 #822FAF #AF2F5C
monochromatic
#154F1E #227F30 #2FAF42 #4CCF60 #7CDC8B

Accessibility & contrast

On white

2.86
#2FAF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#2FAF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FAF42
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FAF42#FFFFFF#000000##000000
##2FAF421.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2faf42;
/* rgb */ color: rgb(47, 175, 66);
/* oklch */ color: oklch(66.3% 0.185 145.3);
Tailwind
colors: {
  custom: {
    50: '#7bc87a',
    500: '#2faf42',
    950: '#000000',
  },
}
SCSS
$custom: #2faf42;
$custom-light: #7bc87a;
$custom-dark: #000000;
JSON
{
  "hex": "#2faf42",
  "rgb": {
    "r": 47,
    "g": 175,
    "b": 66
  },
  "hsl": {
    "h": 128.906,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66283,
    "c": 0.18526,
    "h": 145.3
  },
  "luminance": 0.31658
}

Semantic roles & 50–950 ramp

primary
#2FAF42
secondary
#C475B9
accent
#47CAE1
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2FAF42

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

Preview Lab → · Contrast checker → · Palette generator →

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