#2FA838#2FA838

#2FA838 is a light, vivid green. Relative luminance 0.289; OKLCH L 64.3% C 0.184 H 144.0°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2FA838
RGBrgb(47, 168, 56)
HSLhsl(124, 56%, 42%)
HSVhsv(124, 72%, 66%)
CMYKcmyk(72%, 0%, 66.7%, 34.1%)
CIE-LABlab(60.69, -55.12, 46.81)
CIE-LCHlch(60.69, 72.31, 139.66°)
OKLaboklab(64.29% -0.1492 0.1083)
OKLCHoklch(64.29% 0.184 144)
XYZxyz(15.8877, 28.8934, 8.4803)
Luminance0.2889 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA838 #A82F9F
analogous
#62A82F #2FA838 #2FA875
triadic
#2FA838 #382FA8 #A8382F
tetradic
#2FA838 #2F62A8 #A82F9F #A8752F
square
#2FA838 #2F62A8 #A82F9F #A8752F
split-complementary
#2FA838 #752FA8 #A82F62
monochromatic
#144818 #227828 #2FA838 #48CC52 #78D97F

Accessibility & contrast

On white

3.10
#2FA838 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#2FA838 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA838
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA838#FFFFFF#000000##000000
##2FA8381.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9829
Deuteranopia (green-blind)
#9D8F42
Tritanopia (blue-blind)
#00A391
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #2fa838;
/* rgb */ color: rgb(47, 168, 56);
/* oklch */ color: oklch(64.3% 0.184 144.0);
Tailwind
colors: {
  custom: {
    50: '#7ac374',
    500: '#2fa838',
    950: '#000000',
  },
}
SCSS
$custom: #2fa838;
$custom-light: #7ac374;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa838",
  "rgb": {
    "r": 47,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 124.463,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64288,
    "c": 0.18434,
    "h": 144
  },
  "luminance": 0.28895
}

Semantic roles & 50–950 ramp

primary
#2FA838
secondary
#C171BB
accent
#48D4E0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2FA838

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

Preview Lab → · Contrast checker → · Palette generator →

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