#2FA837#2FA837

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

Color values

HEX#2FA837
RGBrgb(47, 168, 55)
HSLhsl(124, 56%, 42%)
HSVhsv(124, 72%, 66%)
CMYKcmyk(72%, 0%, 67.3%, 34.1%)
CIE-LABlab(60.68, -55.22, 47.22)
CIE-LCHlch(60.68, 72.66, 139.46°)
OKLaboklab(64.28% -0.1495 0.109)
OKLCHoklch(64.28% 0.185 143.9)
XYZxyz(15.8635, 28.8837, 8.3528)
Luminance0.2888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA837 #A82FA0
analogous
#64A82F #2FA837 #2FA874
triadic
#2FA837 #372FA8 #A8372F
tetradic
#2FA837 #2F64A8 #A82FA0 #A8742F
square
#2FA837 #2F64A8 #A82FA0 #A8742F
split-complementary
#2FA837 #742FA8 #A82F64
monochromatic
#144818 #227827 #2FA837 #48CC51 #78D97F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2FA837#FFFFFF#000000##000000
##2FA8371.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)
#AB9828
Deuteranopia (green-blind)
#9D8F41
Tritanopia (blue-blind)
#00A391
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #2fa837;
/* rgb */ color: rgb(47, 168, 55);
/* oklch */ color: oklch(64.3% 0.185 143.9);
Tailwind
colors: {
  custom: {
    50: '#7ac373',
    500: '#2fa837',
    950: '#000000',
  },
}
SCSS
$custom: #2fa837;
$custom-light: #7ac373;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa837",
  "rgb": {
    "r": 47,
    "g": 168,
    "b": 55
  },
  "hsl": {
    "h": 123.967,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64278,
    "c": 0.18506,
    "h": 143.9
  },
  "luminance": 0.28885
}

Semantic roles & 50–950 ramp

primary
#2FA837
secondary
#C171BC
accent
#48D6E0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2FA837

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

Preview Lab → · Contrast checker → · Palette generator →

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