#2FAF45#2FAF45

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

Color values

HEX#2FAF45
RGBrgb(47, 175, 69)
HSLhsl(130, 58%, 44%)
HSVhsv(130, 73%, 69%)
CMYKcmyk(73.1%, 0%, 60.6%, 31.4%)
CIE-LABlab(63.09, -56.04, 43.72)
CIE-LCHlch(63.09, 71.08, 142.04°)
OKLaboklab(66.32% -0.1512 0.1029)
OKLCHoklch(66.32% 0.183 145.7)
XYZxyz(17.5752, 31.6920, 10.8200)
Luminance0.3169 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAF45 #AF2F99
analogous
#59AF2F #2FAF45 #2FAF85
triadic
#2FAF45 #452FAF #AF452F
tetradic
#2FAF45 #2F59AF #AF2F99 #AF852F
square
#2FAF45 #2F59AF #AF2F99 #AF852F
split-complementary
#2FAF45 #852FAF #AF2F59
monochromatic
#154F1F #227F32 #2FAF45 #4CCF63 #7CDC8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2FAF45#FFFFFF#000000##000000
##2FAF451.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)
#B29F3A
Deuteranopia (green-blind)
#A3954E
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #2faf45;
/* rgb */ color: rgb(47, 175, 69);
/* oklch */ color: oklch(66.3% 0.183 145.7);
Tailwind
colors: {
  custom: {
    50: '#7bc87c',
    500: '#2faf45',
    950: '#000000',
  },
}
SCSS
$custom: #2faf45;
$custom-light: #7bc87c;
$custom-dark: #000000;
JSON
{
  "hex": "#2faf45",
  "rgb": {
    "r": 47,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 130.313,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66318,
    "c": 0.18289,
    "h": 145.7
  },
  "luminance": 0.31694
}

Semantic roles & 50–950 ramp

primary
#2FAF45
secondary
#C475B7
accent
#47C6E1
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #2FAF45

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

Preview Lab → · Contrast checker → · Palette generator →

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