#2F7C1D#2F7C1D

#2F7C1D is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.149 H 140.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2F7C1D
RGBrgb(47, 124, 29)
HSLhsl(109, 62%, 30%)
HSVhsv(109, 77%, 49%)
CMYKcmyk(62.1%, 0%, 76.6%, 51.4%)
CIE-LABlab(45.78, -41.82, 42.18)
CIE-LCHlch(45.78, 59.40, 134.75°)
OKLaboklab(51.88% -0.1146 0.0951)
OKLCHoklch(51.88% 0.149 140.3)
XYZxyz(8.6013, 15.1076, 3.6249)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7C1D #6A1D7C
analogous
#5E7C1D #2F7C1D #1D7C3B
triadic
#2F7C1D #1D2F7C #7C1D2F
tetradic
#2F7C1D #1D5E7C #6A1D7C #7C3B1D
square
#2F7C1D #1D5E7C #6A1D7C #7C3B1D
split-complementary
#2F7C1D #3B1D7C #7C1D5E
monochromatic
#091906 #1C4A11 #2F7C1D #42AE29 #5CD341

Accessibility & contrast

On white

5.22
#2F7C1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2F7C1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7C1D
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7C1D#FFFFFF#000000##FFFFFF
##2F7C1D1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700A
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#24786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7c1d;
/* rgb */ color: rgb(47, 124, 29);
/* oklch */ color: oklch(51.9% 0.149 140.3);
Tailwind
colors: {
  custom: {
    50: '#72a360',
    500: '#2f7c1d',
    950: '#000000',
  },
}
SCSS
$custom: #2f7c1d;
$custom-light: #72a360;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7c1d",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 108.632,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.51878,
    "c": 0.14895,
    "h": 140.3
  },
  "luminance": 0.15108
}

Semantic roles & 50–950 ramp

primary
#2F7C1D
secondary
#9B45B0
accent
#43E5C6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F7C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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