#2F701E#2F701E

#2F701E is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.133 H 139.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2F701E
RGBrgb(47, 112, 30)
HSLhsl(108, 58%, 28%)
HSVhsv(108, 73%, 44%)
CMYKcmyk(58%, 0%, 73.2%, 56.1%)
CIE-LABlab(41.67, -37.00, 37.58)
CIE-LCHlch(41.67, 52.73, 134.56°)
OKLaboklab(48.48% -0.1016 0.0856)
OKLCHoklch(48.48% 0.133 139.9)
XYZxyz(7.2005, 12.2858, 3.2200)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F701E #5F1E70
analogous
#58701E #2F701E #1E7036
triadic
#2F701E #1E2F70 #701E2F
tetradic
#2F701E #1E5870 #5F1E70 #70361E
square
#2F701E #1E5870 #5F1E70 #70361E
split-complementary
#2F701E #361E70 #701E58
monochromatic
#0A1806 #1B4011 #2F701E #43A02B #5BCB3D

Accessibility & contrast

On white

6.07
#2F701E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2F701E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F701E
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F701E#FFFFFF#000000##FFFFFF
##2F701E1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736611
Deuteranopia (green-blind)
#6B6026
Tritanopia (blue-blind)
#286C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f701e;
/* rgb */ color: rgb(47, 112, 30);
/* oklch */ color: oklch(48.5% 0.133 139.9);
Tailwind
colors: {
  custom: {
    50: '#6f9a5f',
    500: '#2f701e',
    950: '#000000',
  },
}
SCSS
$custom: #2f701e;
$custom-light: #6f9a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f701e",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 107.561,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.48483,
    "c": 0.13284,
    "h": 139.9
  },
  "luminance": 0.12286
}

Semantic roles & 50–950 ramp

primary
#2F701E
secondary
#9146A4
accent
#47E1C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F701E

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

Preview Lab → · Contrast checker → · Palette generator →

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