#2F7E25#2F7E25

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

Color values

HEX#2F7E25
RGBrgb(47, 126, 37)
HSLhsl(113, 55%, 32%)
HSVhsv(113, 71%, 49%)
CMYKcmyk(62.7%, 0%, 70.6%, 50.6%)
CIE-LABlab(46.52, -41.88, 39.69)
CIE-LCHlch(46.52, 57.70, 136.54°)
OKLaboklab(52.51% -0.1143 0.091)
OKLCHoklch(52.51% 0.146 141.5)
XYZxyz(8.9666, 15.6588, 4.2998)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E25 #74257E
analogous
#5C7E25 #2F7E25 #257E47
triadic
#2F7E25 #252F7E #7E252F
tetradic
#2F7E25 #255C7E #74257E #7E4725
square
#2F7E25 #255C7E #74257E #7E4725
split-complementary
#2F7E25 #47257E #7E255C
monochromatic
#0C1F09 #1D4F17 #2F7E25 #41AD33 #5FCC51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7E25#FFFFFF#000000##FFFFFF
##2F7E251.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)
#817218
Deuteranopia (green-blind)
#776C2D
Tritanopia (blue-blind)
#227A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7e25;
/* rgb */ color: rgb(47, 126, 37);
/* oklch */ color: oklch(52.5% 0.146 141.5);
Tailwind
colors: {
  custom: {
    50: '#72a464',
    500: '#2f7e25',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e25;
$custom-light: #72a464;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e25",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 37
  },
  "hsl": {
    "h": 113.258,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5251,
    "c": 0.14613,
    "h": 141.5
  },
  "luminance": 0.1566
}

Semantic roles & 50–950 ramp

primary
#2F7E25
secondary
#A54FB0
accent
#4ADECD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #2F7E25

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

Preview Lab → · Contrast checker → · Palette generator →

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