#2FA538#2FA538

#2FA538 is a light, vivid green. Relative luminance 0.278; OKLCH L 63.5% C 0.181 H 144.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2FA538
RGBrgb(47, 165, 56)
HSLhsl(125, 56%, 42%)
HSVhsv(125, 72%, 65%)
CMYKcmyk(71.5%, 0%, 66.1%, 35.3%)
CIE-LABlab(59.71, -54.09, 45.73)
CIE-LCHlch(59.71, 70.83, 139.79°)
OKLaboklab(63.48% -0.1464 0.106)
OKLCHoklch(63.48% 0.181 144.1)
XYZxyz(15.3402, 27.7984, 8.2978)
Luminance0.2780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA538 #A52F9C
analogous
#61A52F #2FA538 #2FA573
triadic
#2FA538 #382FA5 #A5382F
tetradic
#2FA538 #2F61A5 #A52F9C #A5732F
square
#2FA538 #2F61A5 #A52F9C #A5732F
split-complementary
#2FA538 #732FA5 #A52F61
monochromatic
#144618 #217528 #2FA538 #47CB51 #76D87E

Accessibility & contrast

On white

3.20
#2FA538 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#2FA538 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA538
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA538#FFFFFF#000000##000000
##2FA5381.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8962A
Deuteranopia (green-blind)
#9A8C42
Tritanopia (blue-blind)
#00A08E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #2fa538;
/* rgb */ color: rgb(47, 165, 56);
/* oklch */ color: oklch(63.5% 0.181 144.1);
Tailwind
colors: {
  custom: {
    50: '#79c173',
    500: '#2fa538',
    950: '#000000',
  },
}
SCSS
$custom: #2fa538;
$custom-light: #79c173;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa538",
  "rgb": {
    "r": 47,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 124.576,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63475,
    "c": 0.18074,
    "h": 144.1
  },
  "luminance": 0.278
}

Semantic roles & 50–950 ramp

primary
#2FA538
secondary
#C070BA
accent
#49D4DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #2FA538

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

Preview Lab → · Contrast checker → · Palette generator →

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