#2FA158#2FA158

#2FA158 is a light, vivid green. Relative luminance 0.268; OKLCH L 62.8% C 0.148 H 151.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#2FA158
RGBrgb(47, 161, 88)
HSLhsl(142, 55%, 41%)
HSVhsv(142, 71%, 63%)
CMYKcmyk(70.8%, 0%, 45.3%, 36.9%)
CIE-LABlab(58.79, -48.14, 29.02)
CIE-LCHlch(58.79, 56.22, 148.92°)
OKLaboklab(62.84% -0.1297 0.0714)
OKLCHoklch(62.84% 0.148 151.2)
XYZxyz(15.6773, 26.7969, 13.5767)
Luminance0.2680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA158 #A12F78
analogous
#3FA12F #2FA158 #2FA191
triadic
#2FA158 #582FA1 #A1582F
tetradic
#2FA158 #2F3FA1 #A12F78 #A1912F
square
#2FA158 #2F3FA1 #A12F78 #A1912F
split-complementary
#2FA158 #912FA1 #A12F3F
monochromatic
#134224 #21723E #2FA158 #45C974 #74D697

Accessibility & contrast

On white

3.30
#2FA158 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#2FA158 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA158
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA158#FFFFFF#000000##000000
##2FA1581.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29352
Deuteranopia (green-blind)
#948A5D
Tritanopia (blue-blind)
#009E8F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2fa158;
/* rgb */ color: rgb(47, 161, 88);
/* oklch */ color: oklch(62.8% 0.148 151.2);
Tailwind
colors: {
  custom: {
    50: '#77be88',
    500: '#2fa158',
    950: '#000000',
  },
}
SCSS
$custom: #2fa158;
$custom-light: #77be88;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa158",
  "rgb": {
    "r": 47,
    "g": 161,
    "b": 88
  },
  "hsl": {
    "h": 141.579,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.62839,
    "c": 0.14803,
    "h": 151.2
  },
  "luminance": 0.26799
}

Semantic roles & 50–950 ramp

primary
#2FA158
secondary
#BE6EA1
accent
#4AA9DE
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #2FA158

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

Preview Lab → · Contrast checker → · Palette generator →

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