#2FAF2F#2FAF2F

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

Color values

HEX#2FAF2F
RGBrgb(47, 175, 47)
HSLhsl(120, 58%, 44%)
HSVhsv(120, 73%, 69%)
CMYKcmyk(73.1%, 0%, 73.1%, 31.4%)
CIE-LABlab(62.90, -58.30, 52.74)
CIE-LCHlch(62.90, 78.61, 137.87°)
OKLaboklab(66.1% -0.1583 0.1196)
OKLCHoklch(66.1% 0.198 142.9)
XYZxyz(17.0143, 31.4676, 7.8659)
Luminance0.3147 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAF2F #AF2FAF
analogous
#6FAF2F #2FAF2F #2FAF6F
triadic
#2FAF2F #2F2FAF #AF2F2F
tetradic
#2FAF2F #2F6FAF #AF2FAF #AF6F2F
square
#2FAF2F #2F6FAF #AF2FAF #AF6F2F
split-complementary
#2FAF2F #6F2FAF #AF2F6F
monochromatic
#154F15 #227F22 #2FAF2F #4CCF4C #7CDC7C

Accessibility & contrast

On white

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

On black

7.29
#2FAF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FAF2F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FAF2F#FFFFFF#000000##000000
##2FAF2F1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2faf2f;
/* rgb */ color: rgb(47, 175, 47);
/* oklch */ color: oklch(66.1% 0.198 142.9);
Tailwind
colors: {
  custom: {
    50: '#7cc870',
    500: '#2faf2f',
    950: '#000000',
  },
}
SCSS
$custom: #2faf2f;
$custom-light: #7cc870;
$custom-dark: #000000;
JSON
{
  "hex": "#2faf2f",
  "rgb": {
    "r": 47,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66102,
    "c": 0.19838,
    "h": 142.9
  },
  "luminance": 0.3147
}

Semantic roles & 50–950 ramp

primary
#2FAF2F
secondary
#C475C4
accent
#47E1E1
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2FAF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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