#2F8E39#2F8E39

#2F8E39 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.151 H 145.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2F8E39
RGBrgb(47, 142, 57)
HSLhsl(126, 50%, 37%)
HSVhsv(126, 67%, 56%)
CMYKcmyk(66.9%, 0%, 59.9%, 44.3%)
CIE-LABlab(52.11, -45.70, 36.68)
CIE-LCHlch(52.11, 58.60, 141.24°)
OKLaboklab(57.19% -0.1236 0.0867)
OKLCHoklch(57.19% 0.151 145)
XYZxyz(11.5831, 20.2446, 7.1673)
Luminance0.2025 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E39 #8E2F84
analogous
#548E2F #2F8E39 #2F8E69
triadic
#2F8E39 #392F8E #8E392F
tetradic
#2F8E39 #2F548E #8E2F84 #8E692F
square
#2F8E39 #2F548E #8E2F84 #8E692F
split-complementary
#2F8E39 #692F8E #8E2F54
monochromatic
#113214 #206027 #2F8E39 #3EBC4B #6ACE74

Accessibility & contrast

On white

4.16
#2F8E39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#2F8E39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E39
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E39#FFFFFF#000000##000000
##2F8E391.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908130
Deuteranopia (green-blind)
#857940
Tritanopia (blue-blind)
#158A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8e39;
/* rgb */ color: rgb(47, 142, 57);
/* oklch */ color: oklch(57.2% 0.151 145.0);
Tailwind
colors: {
  custom: {
    50: '#74b072',
    500: '#2f8e39',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e39;
$custom-light: #74b072;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e39",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 57
  },
  "hsl": {
    "h": 126.316,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57192,
    "c": 0.15101,
    "h": 145
  },
  "luminance": 0.20246
}

Semantic roles & 50–950 ramp

primary
#2F8E39
secondary
#B564AC
accent
#4ECBDA
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091108
muted
#7B807B

Preview Lab

Preview with #2F8E39

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

Preview Lab → · Contrast checker → · Palette generator →

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