#2F8724#2F8724

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

Color values

HEX#2F8724
RGBrgb(47, 135, 36)
HSLhsl(113, 58%, 34%)
HSVhsv(113, 73%, 53%)
CMYKcmyk(65.2%, 0%, 73.3%, 47.1%)
CIE-LABlab(49.57, -45.37, 43.29)
CIE-LCHlch(49.57, 62.71, 136.34°)
OKLaboklab(55.03% -0.1238 0.0984)
OKLCHoklch(55.03% 0.158 141.5)
XYZxyz(10.1542, 18.0587, 4.6193)
Luminance0.1806 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8724 #7C2487
analogous
#608724 #2F8724 #24874A
triadic
#2F8724 #242F87 #87242F
tetradic
#2F8724 #246087 #7C2487 #874A24
square
#2F8724 #246087 #7C2487 #874A24
split-complementary
#2F8724 #4A2487 #872460
monochromatic
#0D260A #1E5717 #2F8724 #40B731 #62D154

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8724#FFFFFF#000000##000000
##2F87241.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)
#8A7A14
Deuteranopia (green-blind)
#80732E
Tritanopia (blue-blind)
#1F8373
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f8724;
/* rgb */ color: rgb(47, 135, 36);
/* oklch */ color: oklch(55.0% 0.158 141.5);
Tailwind
colors: {
  custom: {
    50: '#74ab65',
    500: '#2f8724',
    950: '#000000',
  },
}
SCSS
$custom: #2f8724;
$custom-light: #74ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8724",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 113.333,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55025,
    "c": 0.15816,
    "h": 141.5
  },
  "luminance": 0.1806
}

Semantic roles & 50–950 ramp

primary
#2F8724
secondary
#AA51B5
accent
#47E1D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8724

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

Preview Lab → · Contrast checker → · Palette generator →

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