#2F7D29#2F7D29

#2F7D29 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.142 H 142.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2F7D29
RGBrgb(47, 125, 41)
HSLhsl(116, 51%, 33%)
HSVhsv(116, 67%, 49%)
CMYKcmyk(62.4%, 0%, 67.2%, 51%)
CIE-LABlab(46.22, -41.09, 37.58)
CIE-LCHlch(46.22, 55.68, 137.55°)
OKLaboklab(52.27% -0.1119 0.087)
OKLCHoklch(52.27% 0.142 142.1)
XYZxyz(8.9057, 15.4308, 4.6065)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D29 #77297D
analogous
#597D29 #2F7D29 #297D4D
triadic
#2F7D29 #292F7D #7D292F
tetradic
#2F7D29 #29597D #77297D #7D4D29
square
#2F7D29 #29597D #77297D #7D4D29
split-complementary
#2F7D29 #4D297D #7D2959
monochromatic
#0C210B #1E4F1A #2F7D29 #40AB38 #60C858

Accessibility & contrast

On white

5.14
#2F7D29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2F7D29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7D29
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D29#FFFFFF#000000##FFFFFF
##2F7D291.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721F
Deuteranopia (green-blind)
#766B30
Tritanopia (blue-blind)
#22796C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7d29;
/* rgb */ color: rgb(47, 125, 41);
/* oklch */ color: oklch(52.3% 0.142 142.1);
Tailwind
colors: {
  custom: {
    50: '#71a367',
    500: '#2f7d29',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d29;
$custom-light: #71a367;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d29",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 115.714,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5227,
    "c": 0.1418,
    "h": 142.1
  },
  "luminance": 0.15432
}

Semantic roles & 50–950 ramp

primary
#2F7D29
secondary
#A754AE
accent
#4EDAD0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2F7D29

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

Preview Lab → · Contrast checker → · Palette generator →

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