#2F7D1E#2F7D1E

#2F7D1E is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.150 H 140.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2F7D1E
RGBrgb(47, 125, 30)
HSLhsl(109, 61%, 30%)
HSVhsv(109, 76%, 49%)
CMYKcmyk(62.4%, 0%, 76%, 51%)
CIE-LABlab(46.13, -42.12, 42.15)
CIE-LCHlch(46.13, 59.59, 134.98°)
OKLaboklab(52.17% -0.1154 0.0952)
OKLCHoklch(52.17% 0.15 140.5)
XYZxyz(8.7398, 15.3645, 3.7331)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D1E #6C1E7D
analogous
#5E7D1E #2F7D1E #1E7D3C
triadic
#2F7D1E #1E2F7D #7D1E2F
tetradic
#2F7D1E #1E5E7D #6C1E7D #7D3C1E
square
#2F7D1E #1E5E7D #6C1E7D #7D3C1E
split-complementary
#2F7D1E #3C1E7D #7D1E5E
monochromatic
#0A1A06 #1C4C12 #2F7D1E #42AE2A #5DD243

Accessibility & contrast

On white

5.16
#2F7D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2F7D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7D1E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D1E#FFFFFF#000000##FFFFFF
##2F7D1E1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710C
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#24796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7d1e;
/* rgb */ color: rgb(47, 125, 30);
/* oklch */ color: oklch(52.2% 0.150 140.5);
Tailwind
colors: {
  custom: {
    50: '#72a361',
    500: '#2f7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d1e;
$custom-light: #72a361;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d1e",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 109.263,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52168,
    "c": 0.14958,
    "h": 140.5
  },
  "luminance": 0.15365
}

Semantic roles & 50–950 ramp

primary
#2F7D1E
secondary
#9D46B0
accent
#43E4C8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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