#2F7B1E#2F7B1E

#2F7B1E is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.147 H 140.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2F7B1E
RGBrgb(47, 123, 30)
HSLhsl(109, 61%, 30%)
HSVhsv(109, 76%, 48%)
CMYKcmyk(61.8%, 0%, 75.6%, 51.8%)
CIE-LABlab(45.45, -41.35, 41.46)
CIE-LCHlch(45.45, 58.56, 134.93°)
OKLaboklab(51.6% -0.1133 0.0937)
OKLCHoklch(51.6% 0.147 140.4)
XYZxyz(8.4892, 14.8632, 3.6496)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B1E #6A1E7B
analogous
#5E7B1E #2F7B1E #1E7B3B
triadic
#2F7B1E #1E2F7B #7B1E2F
tetradic
#2F7B1E #1E5E7B #6A1E7B #7B3B1E
square
#2F7B1E #1E5E7B #6A1E7B #7B3B1E
split-complementary
#2F7B1E #3B1E7B #7B1E5E
monochromatic
#091906 #1C4A12 #2F7B1E #42AC2A #5CD142

Accessibility & contrast

On white

5.29
#2F7B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2F7B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B1E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B1E#FFFFFF#000000##FFFFFF
##2F7B1E1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#257769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7b1e;
/* rgb */ color: rgb(47, 123, 30);
/* oklch */ color: oklch(51.6% 0.147 140.4);
Tailwind
colors: {
  custom: {
    50: '#71a260',
    500: '#2f7b1e',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b1e;
$custom-light: #71a260;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b1e",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 109.032,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.51603,
    "c": 0.14707,
    "h": 140.4
  },
  "luminance": 0.14864
}

Semantic roles & 50–950 ramp

primary
#2F7B1E
secondary
#9B46AE
accent
#44E4C7
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2F7B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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