#2F7D41#2F7D41

#2F7D41 is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.6% C 0.120 H 148.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2F7D41
RGBrgb(47, 125, 65)
HSLhsl(134, 45%, 34%)
HSVhsv(134, 62%, 49%)
CMYKcmyk(62.4%, 0%, 48%, 51%)
CIE-LABlab(46.52, -37.75, 25.72)
CIE-LCHlch(46.52, 45.68, 145.74°)
OKLaboklab(52.61% -0.102 0.0629)
OKLCHoklch(52.61% 0.12 148.4)
XYZxyz(9.4594, 15.6523, 7.5227)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D41 #7D2F6B
analogous
#447D2F #2F7D41 #2F7D68
triadic
#2F7D41 #412F7D #7D412F
tetradic
#2F7D41 #2F447D #7D2F6B #7D682F
square
#2F7D41 #2F447D #7D2F6B #7D682F
split-complementary
#2F7D41 #682F7D #7D2F44
monochromatic
#0E2413 #1E512A #2F7D41 #40A958 #62C479

Accessibility & contrast

On white

5.08
#2F7D41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2F7D41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7D41
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D41#FFFFFF#000000##FFFFFF
##2F7D411.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E723C
Deuteranopia (green-blind)
#746B45
Tritanopia (blue-blind)
#1A7B6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7d41;
/* rgb */ color: rgb(47, 125, 65);
/* oklch */ color: oklch(52.6% 0.120 148.4);
Tailwind
colors: {
  custom: {
    50: '#70a376',
    500: '#2f7d41',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d41;
$custom-light: #70a376;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d41",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 65
  },
  "hsl": {
    "h": 133.846,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5261,
    "c": 0.11986,
    "h": 148.4
  },
  "luminance": 0.15653
}

Semantic roles & 50–950 ramp

primary
#2F7D41
secondary
#AB5D99
accent
#53B7D5
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2F7D41

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

Preview Lab → · Contrast checker → · Palette generator →

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