#2F8440#2F8440

#2F8440 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.131 H 147.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2F8440
RGBrgb(47, 132, 64)
HSLhsl(132, 47%, 35%)
HSVhsv(132, 64%, 52%)
CMYKcmyk(64.4%, 0%, 51.5%, 48.2%)
CIE-LABlab(48.85, -40.79, 29.19)
CIE-LCHlch(48.85, 50.16, 144.41°)
OKLaboklab(54.53% -0.1102 0.0707)
OKLCHoklch(54.53% 0.131 147.3)
XYZxyz(10.3483, 17.4760, 7.6774)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8440 #842F73
analogous
#48842F #2F8440 #2F846A
triadic
#2F8440 #402F84 #84402F
tetradic
#2F8440 #2F4884 #842F73 #846A2F
square
#2F8440 #2F4884 #842F73 #846A2F
split-complementary
#2F8440 #6A2F84 #842F48
monochromatic
#0F2A14 #1F572A #2F8440 #3FB156 #65C879

Accessibility & contrast

On white

4.67
#2F8440 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#2F8440 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8440
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8440#FFFFFF#000000##FFFFFF
##2F84401.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793A
Deuteranopia (green-blind)
#7B7145
Tritanopia (blue-blind)
#178174
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8440;
/* rgb */ color: rgb(47, 132, 64);
/* oklch */ color: oklch(54.5% 0.131 147.3);
Tailwind
colors: {
  custom: {
    50: '#72a876',
    500: '#2f8440',
    950: '#000000',
  },
}
SCSS
$custom: #2f8440;
$custom-light: #72a876;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8440",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 64
  },
  "hsl": {
    "h": 132,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54532,
    "c": 0.13092,
    "h": 147.3
  },
  "luminance": 0.17477
}

Semantic roles & 50–950 ramp

primary
#2F8440
secondary
#AF609F
accent
#51BCD7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2F8440

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

Preview Lab → · Contrast checker → · Palette generator →

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