#2F7D25#2F7D25

#2F7D25 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.145 H 141.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2F7D25
RGBrgb(47, 125, 37)
HSLhsl(113, 54%, 32%)
HSVhsv(113, 70%, 49%)
CMYKcmyk(62.4%, 0%, 70.4%, 51%)
CIE-LABlab(46.18, -41.50, 39.33)
CIE-LCHlch(46.18, 57.17, 136.54°)
OKLaboklab(52.23% -0.1133 0.0902)
OKLCHoklch(52.23% 0.145 141.5)
XYZxyz(8.8394, 15.4043, 4.2574)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D25 #73257D
analogous
#5B7D25 #2F7D25 #257D47
triadic
#2F7D25 #252F7D #7D252F
tetradic
#2F7D25 #255B7D #73257D #7D4725
square
#2F7D25 #255B7D #73257D #7D4725
split-complementary
#2F7D25 #47257D #7D255B
monochromatic
#0B1F09 #1D4E17 #2F7D25 #41AC33 #5FCB51

Accessibility & contrast

On white

5.15
#2F7D25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2F7D25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7D25
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D25#FFFFFF#000000##FFFFFF
##2F7D251.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807119
Deuteranopia (green-blind)
#766B2D
Tritanopia (blue-blind)
#23796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7d25;
/* rgb */ color: rgb(47, 125, 37);
/* oklch */ color: oklch(52.2% 0.145 141.5);
Tailwind
colors: {
  custom: {
    50: '#71a364',
    500: '#2f7d25',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d25;
$custom-light: #71a364;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d25",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 37
  },
  "hsl": {
    "h": 113.182,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52229,
    "c": 0.14483,
    "h": 141.5
  },
  "luminance": 0.15405
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F7D25

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

Preview Lab → · Contrast checker → · Palette generator →

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