#2F751F#2F751F

#2F751F is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.139 H 140.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#2F751F
RGBrgb(47, 117, 31)
HSLhsl(109, 58%, 29%)
HSVhsv(109, 74%, 46%)
CMYKcmyk(59.8%, 0%, 73.5%, 54.1%)
CIE-LABlab(43.40, -38.92, 38.95)
CIE-LCHlch(43.40, 55.07, 134.98°)
OKLaboklab(49.91% -0.1067 0.0886)
OKLCHoklch(49.91% 0.139 140.3)
XYZxyz(7.7806, 13.4252, 3.4774)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F751F #651F75
analogous
#5A751F #2F751F #1F753A
triadic
#2F751F #1F2F75 #751F2F
tetradic
#2F751F #1F5A75 #651F75 #753A1F
square
#2F751F #1F5A75 #651F75 #753A1F
split-complementary
#2F751F #3A1F75 #751F5A
monochromatic
#0A1806 #1C4512 #2F751F #42A52C #5BCD42

Accessibility & contrast

On white

5.70
#2F751F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2F751F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F751F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F751F#FFFFFF#000000##FFFFFF
##2F751F1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A11
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#267164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f751f;
/* rgb */ color: rgb(47, 117, 31);
/* oklch */ color: oklch(49.9% 0.139 140.3);
Tailwind
colors: {
  custom: {
    50: '#709d60',
    500: '#2f751f',
    950: '#000000',
  },
}
SCSS
$custom: #2f751f;
$custom-light: #709d60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f751f",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 108.837,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49913,
    "c": 0.13872,
    "h": 140.3
  },
  "luminance": 0.13426
}

Semantic roles & 50–950 ramp

primary
#2F751F
secondary
#9747A9
accent
#46E1C5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F751F

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

Preview Lab → · Contrast checker → · Palette generator →

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