#2FAF38#2FAF38

#2FAF38 is a light, vivid green. Relative luminance 0.316; OKLCH L 66.2% C 0.193 H 143.9°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2FAF38
RGBrgb(47, 175, 56)
HSLhsl(124, 58%, 44%)
HSVhsv(124, 73%, 69%)
CMYKcmyk(73.1%, 0%, 68%, 31.4%)
CIE-LABlab(62.97, -57.48, 49.28)
CIE-LCHlch(62.97, 75.71, 139.39°)
OKLaboklab(66.18% -0.1556 0.1135)
OKLCHoklch(66.18% 0.193 143.9)
XYZxyz(17.2150, 31.5479, 8.9227)
Luminance0.3155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAF38 #AF2FA6
analogous
#66AF2F #2FAF38 #2FAF78
triadic
#2FAF38 #382FAF #AF382F
tetradic
#2FAF38 #2F66AF #AF2FA6 #AF782F
square
#2FAF38 #2F66AF #AF2FA6 #AF782F
split-complementary
#2FAF38 #782FAF #AF2F66
monochromatic
#154F19 #227F29 #2FAF38 #4CCF55 #7CDC83

Accessibility & contrast

On white

2.87
#2FAF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#2FAF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FAF38
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FAF38#FFFFFF#000000##000000
##2FAF381.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E28
Deuteranopia (green-blind)
#A49443
Tritanopia (blue-blind)
#00AA97
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #2faf38;
/* rgb */ color: rgb(47, 175, 56);
/* oklch */ color: oklch(66.2% 0.193 143.9);
Tailwind
colors: {
  custom: {
    50: '#7bc874',
    500: '#2faf38',
    950: '#000000',
  },
}
SCSS
$custom: #2faf38;
$custom-light: #7bc874;
$custom-dark: #000000;
JSON
{
  "hex": "#2faf38",
  "rgb": {
    "r": 47,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 124.219,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66179,
    "c": 0.19259,
    "h": 143.9
  },
  "luminance": 0.3155
}

Semantic roles & 50–950 ramp

primary
#2FAF38
secondary
#C475BF
accent
#47D6E1
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2FAF38

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

Preview Lab → · Contrast checker → · Palette generator →

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