#2FAF34#2FAF34

#2FAF34 is a light, vivid green. Relative luminance 0.315; OKLCH L 66.1% C 0.195 H 143.4°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2FAF34
RGBrgb(47, 175, 52)
HSLhsl(122, 58%, 44%)
HSVhsv(122, 73%, 69%)
CMYKcmyk(73.1%, 0%, 70.3%, 31.4%)
CIE-LABlab(62.94, -57.86, 50.86)
CIE-LCHlch(62.94, 77.04, 138.68°)
OKLaboklab(66.14% -0.1568 0.1163)
OKLCHoklch(66.14% 0.195 143.4)
XYZxyz(17.1210, 31.5103, 8.4279)
Luminance0.3151 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAF34 #AF2FAA
analogous
#6AAF2F #2FAF34 #2FAF74
triadic
#2FAF34 #342FAF #AF342F
tetradic
#2FAF34 #2F6AAF #AF2FAA #AF742F
square
#2FAF34 #2F6AAF #AF2FAA #AF742F
split-complementary
#2FAF34 #742FAF #AF2F6A
monochromatic
#154F17 #227F26 #2FAF34 #4CCF51 #7CDC80

Accessibility & contrast

On white

2.88
#2FAF34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#2FAF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FAF34
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FAF34#FFFFFF#000000##000000
##2FAF341.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2faf34;
/* rgb */ color: rgb(47, 175, 52);
/* oklch */ color: oklch(66.1% 0.195 143.4);
Tailwind
colors: {
  custom: {
    50: '#7cc872',
    500: '#2faf34',
    950: '#000000',
  },
}
SCSS
$custom: #2faf34;
$custom-light: #7cc872;
$custom-dark: #000000;
JSON
{
  "hex": "#2faf34",
  "rgb": {
    "r": 47,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 122.344,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66143,
    "c": 0.19526,
    "h": 143.4
  },
  "luminance": 0.31512
}

Semantic roles & 50–950 ramp

primary
#2FAF34
secondary
#C475C1
accent
#47DBE1
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2FAF34

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

Preview Lab → · Contrast checker → · Palette generator →

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