#2F8D39#2F8D39

#2F8D39 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.9% C 0.150 H 145.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2F8D39
RGBrgb(47, 141, 57)
HSLhsl(126, 50%, 37%)
HSVhsv(126, 67%, 55%)
CMYKcmyk(66.7%, 0%, 59.6%, 44.7%)
CIE-LABlab(51.78, -45.32, 36.29)
CIE-LCHlch(51.78, 58.06, 141.31°)
OKLaboklab(56.92% -0.1226 0.0859)
OKLCHoklch(56.92% 0.15 145)
XYZxyz(11.4350, 19.9483, 7.1179)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D39 #8D2F83
analogous
#548D2F #2F8D39 #2F8D68
triadic
#2F8D39 #392F8D #8D392F
tetradic
#2F8D39 #2F548D #8D2F83 #8D682F
square
#2F8D39 #2F548D #8D2F83 #8D682F
split-complementary
#2F8D39 #682F8D #8D2F54
monochromatic
#103114 #205F26 #2F8D39 #3EBB4C #69CD74

Accessibility & contrast

On white

4.21
#2F8D39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2F8D39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D39
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D39#FFFFFF#000000##000000
##2F8D391.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8030
Deuteranopia (green-blind)
#847840
Tritanopia (blue-blind)
#16897B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8d39;
/* rgb */ color: rgb(47, 141, 57);
/* oklch */ color: oklch(56.9% 0.150 145.0);
Tailwind
colors: {
  custom: {
    50: '#74af72',
    500: '#2f8d39',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d39;
$custom-light: #74af72;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d39",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 57
  },
  "hsl": {
    "h": 126.383,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56917,
    "c": 0.14968,
    "h": 145
  },
  "luminance": 0.19949
}

Semantic roles & 50–950 ramp

primary
#2F8D39
secondary
#B464AC
accent
#4ECBDA
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2F8D39

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

Preview Lab → · Contrast checker → · Palette generator →

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