#2F971E#2F971E

#2F971E is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.181 H 141.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2F971E
RGBrgb(47, 151, 30)
HSLhsl(112, 67%, 35%)
HSVhsv(112, 80%, 59%)
CMYKcmyk(68.9%, 0%, 80.1%, 40.8%)
CIE-LABlab(54.90, -51.51, 50.72)
CIE-LCHlch(54.90, 72.29, 135.44°)
OKLaboklab(59.43% -0.1407 0.1131)
OKLCHoklch(59.43% 0.181 141.2)
XYZxyz(12.4726, 22.8300, 4.9774)
Luminance0.2283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F971E #861E97
analogous
#6B971E #2F971E #1E9749
triadic
#2F971E #1E2F97 #971E2F
tetradic
#2F971E #1E6B97 #861E97 #97491E
square
#2F971E #1E6B97 #861E97 #97491E
split-complementary
#2F971E #491E97 #971E6B
monochromatic
#0F310A #1F6414 #2F971E #3FCA28 #66DD53

Accessibility & contrast

On white

3.77
#2F971E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#2F971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F971E
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F971E#FFFFFF#000000##000000
##2F971E1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8F802C
Tritanopia (blue-blind)
#199281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f971e;
/* rgb */ color: rgb(47, 151, 30);
/* oklch */ color: oklch(59.4% 0.181 141.2);
Tailwind
colors: {
  custom: {
    50: '#77b764',
    500: '#2f971e',
    950: '#000000',
  },
}
SCSS
$custom: #2f971e;
$custom-light: #77b764;
$custom-dark: #000000;
JSON
{
  "hex": "#2f971e",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 111.57,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59428,
    "c": 0.18052,
    "h": 141.2
  },
  "luminance": 0.22831
}

Semantic roles & 50–950 ramp

primary
#2F971E
secondary
#B051C0
accent
#3EEAD2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #2F971E

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

Preview Lab → · Contrast checker → · Palette generator →

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