#2F8D37#2F8D37

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

Color values

HEX#2F8D37
RGBrgb(47, 141, 55)
HSLhsl(125, 50%, 37%)
HSVhsv(125, 67%, 55%)
CMYKcmyk(66.7%, 0%, 61%, 44.7%)
CIE-LABlab(51.76, -45.57, 37.24)
CIE-LCHlch(51.76, 58.85, 140.75°)
OKLaboklab(56.89% -0.1234 0.0877)
OKLCHoklch(56.89% 0.151 144.6)
XYZxyz(11.3860, 19.9288, 6.8603)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D37 #8D2F85
analogous
#568D2F #2F8D37 #2F8D66
triadic
#2F8D37 #372F8D #8D372F
tetradic
#2F8D37 #2F568D #8D2F85 #8D662F
square
#2F8D37 #2F568D #8D2F85 #8D662F
split-complementary
#2F8D37 #662F8D #8D2F56
monochromatic
#103113 #205F25 #2F8D37 #3EBB49 #69CD72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8D37#FFFFFF#000000##000000
##2F8D371.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)
#90802E
Deuteranopia (green-blind)
#84783E
Tritanopia (blue-blind)
#17897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8d37;
/* rgb */ color: rgb(47, 141, 55);
/* oklch */ color: oklch(56.9% 0.151 144.6);
Tailwind
colors: {
  custom: {
    50: '#74af71',
    500: '#2f8d37',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d37;
$custom-light: #74af71;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d37",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 55
  },
  "hsl": {
    "h": 125.106,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56891,
    "c": 0.1514,
    "h": 144.6
  },
  "luminance": 0.1993
}

Semantic roles & 50–950 ramp

primary
#2F8D37
secondary
#B464AD
accent
#4ECEDA
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2F8D37

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

Preview Lab → · Contrast checker → · Palette generator →

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