#2F8726#2F8726

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

Color values

HEX#2F8726
RGBrgb(47, 135, 38)
HSLhsl(114, 56%, 34%)
HSVhsv(114, 72%, 53%)
CMYKcmyk(65.2%, 0%, 71.9%, 47.1%)
CIE-LABlab(49.58, -45.19, 42.50)
CIE-LCHlch(49.58, 62.03, 136.76°)
OKLaboklab(55.04% -0.1232 0.097)
OKLCHoklch(55.04% 0.157 141.8)
XYZxyz(10.1856, 18.0712, 4.7847)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8726 #7E2687
analogous
#608726 #2F8726 #26874E
triadic
#2F8726 #262F87 #87262F
tetradic
#2F8726 #266087 #7E2687 #874E26
square
#2F8726 #266087 #7E2687 #874E26
split-complementary
#2F8726 #4E2687 #872660
monochromatic
#0E270B #1E5719 #2F8726 #40B733 #63D058

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8726#FFFFFF#000000##000000
##2F87261.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)
#8A7A17
Deuteranopia (green-blind)
#80732F
Tritanopia (blue-blind)
#1F8374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f8726;
/* rgb */ color: rgb(47, 135, 38);
/* oklch */ color: oklch(55.0% 0.157 141.8);
Tailwind
colors: {
  custom: {
    50: '#73ab66',
    500: '#2f8726',
    950: '#000000',
  },
}
SCSS
$custom: #2f8726;
$custom-light: #73ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8726",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 114.433,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55042,
    "c": 0.15683,
    "h": 141.8
  },
  "luminance": 0.18072
}

Semantic roles & 50–950 ramp

primary
#2F8726
secondary
#AC54B5
accent
#48DFD1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8726

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

Preview Lab → · Contrast checker → · Palette generator →

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