#2F7E34#2F7E34

#2F7E34 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.134 H 144.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2F7E34
RGBrgb(47, 126, 52)
HSLhsl(124, 46%, 34%)
HSVhsv(124, 63%, 49%)
CMYKcmyk(62.7%, 0%, 58.7%, 50.6%)
CIE-LABlab(46.68, -40.15, 32.79)
CIE-LCHlch(46.68, 51.83, 140.76°)
OKLaboklab(52.69% -0.1088 0.0778)
OKLCHoklch(52.69% 0.134 144.4)
XYZxyz(9.2524, 15.7731, 5.8051)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E34 #7E2F79
analogous
#527E2F #2F7E34 #2F7E5C
triadic
#2F7E34 #342F7E #7E342F
tetradic
#2F7E34 #2F527E #7E2F79 #7E5C2F
square
#2F7E34 #2F527E #7E2F79 #7E5C2F
split-complementary
#2F7E34 #5C2F7E #7E2F52
monochromatic
#0E250F #1E5122 #2F7E34 #40AB46 #63C569

Accessibility & contrast

On white

5.05
#2F7E34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2F7E34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E34
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E34#FFFFFF#000000##FFFFFF
##2F7E341.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80732D
Deuteranopia (green-blind)
#766C3A
Tritanopia (blue-blind)
#1F7B6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7e34;
/* rgb */ color: rgb(47, 126, 52);
/* oklch */ color: oklch(52.7% 0.134 144.4);
Tailwind
colors: {
  custom: {
    50: '#71a46e',
    500: '#2f7e34',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e34;
$custom-light: #71a46e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e34",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 52
  },
  "hsl": {
    "h": 123.797,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52685,
    "c": 0.1338,
    "h": 144.4
  },
  "luminance": 0.15774
}

Semantic roles & 50–950 ramp

primary
#2F7E34
secondary
#AC5DA7
accent
#52CDD5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2F7E34

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

Preview Lab → · Contrast checker → · Palette generator →

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