#2F8140#2F8140

#2F8140 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.127 H 147.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2F8140
RGBrgb(47, 129, 64)
HSLhsl(132, 47%, 35%)
HSVhsv(132, 64%, 51%)
CMYKcmyk(63.6%, 0%, 50.4%, 49.4%)
CIE-LABlab(47.85, -39.57, 27.94)
CIE-LCHlch(47.85, 48.44, 144.78°)
OKLaboklab(53.7% -0.1069 0.0679)
OKLCHoklch(53.7% 0.127 147.6)
XYZxyz(9.9473, 16.6740, 7.5437)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8140 #812F70
analogous
#47812F #2F8140 #2F8169
triadic
#2F8140 #402F81 #81402F
tetradic
#2F8140 #2F4781 #812F70 #81692F
square
#2F8140 #2F4781 #812F70 #81692F
split-complementary
#2F8140 #692F81 #812F47
monochromatic
#0E2713 #1F542A #2F8140 #3FAE56 #64C678

Accessibility & contrast

On white

4.84
#2F8140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2F8140 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8140
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8140#FFFFFF#000000##FFFFFF
##2F81401.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763B
Deuteranopia (green-blind)
#786F45
Tritanopia (blue-blind)
#197E72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8140;
/* rgb */ color: rgb(47, 129, 64);
/* oklch */ color: oklch(53.7% 0.127 147.6);
Tailwind
colors: {
  custom: {
    50: '#71a676',
    500: '#2f8140',
    950: '#000000',
  },
}
SCSS
$custom: #2f8140;
$custom-light: #71a676;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8140",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 64
  },
  "hsl": {
    "h": 132.439,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53702,
    "c": 0.12665,
    "h": 147.6
  },
  "luminance": 0.16675
}

Semantic roles & 50–950 ramp

primary
#2F8140
secondary
#AD5E9D
accent
#52BBD6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2F8140

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

Preview Lab → · Contrast checker → · Palette generator →

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