#2F7B1D#2F7B1D

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

Color values

HEX#2F7B1D
RGBrgb(47, 123, 29)
HSLhsl(109, 62%, 30%)
HSVhsv(109, 76%, 48%)
CMYKcmyk(61.8%, 0%, 76.4%, 51.8%)
CIE-LABlab(45.44, -41.43, 41.84)
CIE-LCHlch(45.44, 58.88, 134.72°)
OKLaboklab(51.6% -0.1136 0.0944)
OKLCHoklch(51.6% 0.148 140.3)
XYZxyz(8.4766, 14.8582, 3.5834)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B1D #691D7B
analogous
#5E7B1D #2F7B1D #1D7B3A
triadic
#2F7B1D #1D2F7B #7B1D2F
tetradic
#2F7B1D #1D5E7B #691D7B #7B3A1D
square
#2F7B1D #1D5E7B #691D7B #7B3A1D
split-complementary
#2F7B1D #3A1D7B #7B1D5E
monochromatic
#091906 #1C4911 #2F7B1D #42AD29 #5CD240

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7B1D#FFFFFF#000000##FFFFFF
##2F7B1D1.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)
#7E6F0B
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#257769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7b1d;
/* rgb */ color: rgb(47, 123, 29);
/* oklch */ color: oklch(51.6% 0.148 140.3);
Tailwind
colors: {
  custom: {
    50: '#71a260',
    500: '#2f7b1d',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b1d;
$custom-light: #71a260;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b1d",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 108.511,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51595,
    "c": 0.1477,
    "h": 140.3
  },
  "luminance": 0.14859
}

Semantic roles & 50–950 ramp

primary
#2F7B1D
secondary
#9A45AF
accent
#43E5C6
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2F7B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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