#2F7E29#2F7E29

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

Color values

HEX#2F7E29
RGBrgb(47, 126, 41)
HSLhsl(116, 51%, 33%)
HSVhsv(116, 67%, 49%)
CMYKcmyk(62.7%, 0%, 67.5%, 50.6%)
CIE-LABlab(46.56, -41.48, 37.96)
CIE-LCHlch(46.56, 56.22, 137.54°)
OKLaboklab(52.55% -0.113 0.0878)
OKLCHoklch(52.55% 0.143 142.1)
XYZxyz(9.0329, 15.6853, 4.6489)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E29 #78297E
analogous
#597E29 #2F7E29 #297E4E
triadic
#2F7E29 #292F7E #7E292F
tetradic
#2F7E29 #29597E #78297E #7E4E29
square
#2F7E29 #29597E #78297E #7E4E29
split-complementary
#2F7E29 #4E297E #7E2959
monochromatic
#0D220B #1E501A #2F7E29 #40AC38 #60C959

Accessibility & contrast

On white

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

On black

4.14
#2F7E29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F7E29#FFFFFF#000000##FFFFFF
##2F7E291.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721E
Deuteranopia (green-blind)
#776C30
Tritanopia (blue-blind)
#227A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7e29;
/* rgb */ color: rgb(47, 126, 41);
/* oklch */ color: oklch(52.6% 0.143 142.1);
Tailwind
colors: {
  custom: {
    50: '#71a467',
    500: '#2f7e29',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e29;
$custom-light: #71a467;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e29",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 41
  },
  "hsl": {
    "h": 115.765,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52551,
    "c": 0.14312,
    "h": 142.1
  },
  "luminance": 0.15686
}

Semantic roles & 50–950 ramp

primary
#2F7E29
secondary
#A855AE
accent
#4DDAD0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2F7E29

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

Preview Lab → · Contrast checker → · Palette generator →

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