#2FAF47#2FAF47

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

Color values

HEX#2FAF47
RGBrgb(47, 175, 71)
HSLhsl(131, 58%, 44%)
HSVhsv(131, 73%, 69%)
CMYKcmyk(73.1%, 0%, 59.4%, 31.4%)
CIE-LABlab(63.11, -55.79, 42.82)
CIE-LCHlch(63.11, 70.33, 142.49°)
OKLaboklab(66.34% -0.1504 0.1012)
OKLCHoklch(66.34% 0.181 146.1)
XYZxyz(17.6383, 31.7172, 11.1525)
Luminance0.3172 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAF47 #AF2F97
analogous
#57AF2F #2FAF47 #2FAF87
triadic
#2FAF47 #472FAF #AF472F
tetradic
#2FAF47 #2F57AF #AF2F97 #AF872F
square
#2FAF47 #2F57AF #AF2F97 #AF872F
split-complementary
#2FAF47 #872FAF #AF2F57
monochromatic
#154F20 #227F33 #2FAF47 #4CCF65 #7CDC8E

Accessibility & contrast

On white

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

On black

7.34
#2FAF47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FAF47
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FAF47#FFFFFF#000000##000000
##2FAF471.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2faf47;
/* rgb */ color: rgb(47, 175, 71);
/* oklch */ color: oklch(66.3% 0.181 146.1);
Tailwind
colors: {
  custom: {
    50: '#7bc87d',
    500: '#2faf47',
    950: '#000000',
  },
}
SCSS
$custom: #2faf47;
$custom-light: #7bc87d;
$custom-dark: #000000;
JSON
{
  "hex": "#2faf47",
  "rgb": {
    "r": 47,
    "g": 175,
    "b": 71
  },
  "hsl": {
    "h": 131.25,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66342,
    "c": 0.18127,
    "h": 146.1
  },
  "luminance": 0.31719
}

Semantic roles & 50–950 ramp

primary
#2FAF47
secondary
#C475B6
accent
#47C4E1
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #2FAF47

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

Preview Lab → · Contrast checker → · Palette generator →

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