#2F8D40#2F8D40

#2F8D40 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.143 H 146.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2F8D40
RGBrgb(47, 141, 64)
HSLhsl(131, 50%, 37%)
HSVhsv(131, 67%, 55%)
CMYKcmyk(66.7%, 0%, 54.6%, 44.7%)
CIE-LABlab(51.86, -44.34, 32.88)
CIE-LCHlch(51.86, 55.21, 143.44°)
OKLaboklab(57.01% -0.1197 0.0789)
OKLCHoklch(57.01% 0.143 146.6)
XYZxyz(11.6218, 20.0231, 8.1019)
Luminance0.2002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D40 #8D2F7C
analogous
#4D8D2F #2F8D40 #2F8D6F
triadic
#2F8D40 #402F8D #8D402F
tetradic
#2F8D40 #2F4D8D #8D2F7C #8D6F2F
square
#2F8D40 #2F4D8D #8D2F7C #8D6F2F
split-complementary
#2F8D40 #6F2F8D #8D2F4D
monochromatic
#103116 #205F2B #2F8D40 #3EBB55 #69CD7B

Accessibility & contrast

On white

4.20
#2F8D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2F8D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D40
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D40#FFFFFF#000000##000000
##2F8D401.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8139
Deuteranopia (green-blind)
#837946
Tritanopia (blue-blind)
#128A7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8d40;
/* rgb */ color: rgb(47, 141, 64);
/* oklch */ color: oklch(57.0% 0.143 146.6);
Tailwind
colors: {
  custom: {
    50: '#73af77',
    500: '#2f8d40',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d40;
$custom-light: #73af77;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d40",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 130.851,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57014,
    "c": 0.14342,
    "h": 146.6
  },
  "luminance": 0.20024
}

Semantic roles & 50–950 ramp

primary
#2F8D40
secondary
#B464A6
accent
#4EC0DA
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2F8D40

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

Preview Lab → · Contrast checker → · Palette generator →

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