#2F8725#2F8725

#2F8725 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.158 H 141.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F8725
RGBrgb(47, 135, 37)
HSLhsl(114, 57%, 34%)
HSVhsv(114, 73%, 53%)
CMYKcmyk(65.2%, 0%, 72.6%, 47.1%)
CIE-LABlab(49.57, -45.28, 42.90)
CIE-LCHlch(49.57, 62.37, 136.55°)
OKLaboklab(55.03% -0.1235 0.0977)
OKLCHoklch(55.03% 0.158 141.7)
XYZxyz(10.1697, 18.0649, 4.7008)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8725 #7D2587
analogous
#608725 #2F8725 #25874C
triadic
#2F8725 #252F87 #87252F
tetradic
#2F8725 #256087 #7D2587 #874C25
square
#2F8725 #256087 #7D2587 #874C25
split-complementary
#2F8725 #4C2587 #872560
monochromatic
#0E270B #1E5718 #2F8725 #40B732 #62D156

Accessibility & contrast

On white

4.55
#2F8725 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#2F8725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8725
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8725#FFFFFF#000000##000000
##2F87251.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A15
Deuteranopia (green-blind)
#80732F
Tritanopia (blue-blind)
#1F8374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f8725;
/* rgb */ color: rgb(47, 135, 37);
/* oklch */ color: oklch(55.0% 0.158 141.7);
Tailwind
colors: {
  custom: {
    50: '#73ab66',
    500: '#2f8725',
    950: '#000000',
  },
}
SCSS
$custom: #2f8725;
$custom-light: #73ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8725",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 37
  },
  "hsl": {
    "h": 113.878,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55033,
    "c": 0.1575,
    "h": 141.7
  },
  "luminance": 0.18066
}

Semantic roles & 50–950 ramp

primary
#2F8725
secondary
#AB53B5
accent
#48E0D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8725

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

Preview Lab → · Contrast checker → · Palette generator →

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