#2F7A1E#2F7A1E

#2F7A1E is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.146 H 140.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2F7A1E
RGBrgb(47, 122, 30)
HSLhsl(109, 61%, 30%)
HSVhsv(109, 75%, 48%)
CMYKcmyk(61.5%, 0%, 75.4%, 52.2%)
CIE-LABlab(45.10, -40.97, 41.11)
CIE-LCHlch(45.10, 58.04, 134.90°)
OKLaboklab(51.32% -0.1123 0.093)
OKLCHoklch(51.32% 0.146 140.4)
XYZxyz(8.3658, 14.6164, 3.6084)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7A1E #691E7A
analogous
#5D7A1E #2F7A1E #1E7A3B
triadic
#2F7A1E #1E2F7A #7A1E2F
tetradic
#2F7A1E #1E5D7A #691E7A #7A3B1E
square
#2F7A1E #1E5D7A #691E7A #7A3B1E
split-complementary
#2F7A1E #3B1E7A #7A1E5D
monochromatic
#091906 #1C4912 #2F7A1E #42AB2A #5CD042

Accessibility & contrast

On white

5.35
#2F7A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2F7A1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7A1E
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7A1E#FFFFFF#000000##FFFFFF
##2F7A1E1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F0D
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#257668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f7a1e;
/* rgb */ color: rgb(47, 122, 30);
/* oklch */ color: oklch(51.3% 0.146 140.4);
Tailwind
colors: {
  custom: {
    50: '#71a160',
    500: '#2f7a1e',
    950: '#000000',
  },
}
SCSS
$custom: #2f7a1e;
$custom-light: #71a160;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7a1e",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 108.913,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5132,
    "c": 0.14581,
    "h": 140.4
  },
  "luminance": 0.14617
}

Semantic roles & 50–950 ramp

primary
#2F7A1E
secondary
#9A46AE
accent
#44E4C6
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2F7A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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