#2F701F#2F701F

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

Color values

HEX#2F701F
RGBrgb(47, 112, 31)
HSLhsl(108, 57%, 28%)
HSVhsv(108, 72%, 44%)
CMYKcmyk(58%, 0%, 72.3%, 56.1%)
CIE-LABlab(41.67, -36.91, 37.16)
CIE-LCHlch(41.67, 52.37, 134.81°)
OKLaboklab(48.49% -0.1013 0.0849)
OKLCHoklch(48.49% 0.132 140)
XYZxyz(7.2135, 12.2910, 3.2883)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F701F #601F70
analogous
#57701F #2F701F #1F7037
triadic
#2F701F #1F2F70 #701F2F
tetradic
#2F701F #1F5770 #601F70 #70371F
square
#2F701F #1F5770 #601F70 #70371F
split-complementary
#2F701F #371F70 #701F57
monochromatic
#0A1807 #1B4012 #2F701F #43A02C #5BCA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F701F#FFFFFF#000000##FFFFFF
##2F701F1.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)
#736613
Deuteranopia (green-blind)
#6B6027
Tritanopia (blue-blind)
#286C60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f701f;
/* rgb */ color: rgb(47, 112, 31);
/* oklch */ color: oklch(48.5% 0.132 140.0);
Tailwind
colors: {
  custom: {
    50: '#6f9a5f',
    500: '#2f701f',
    950: '#000000',
  },
}
SCSS
$custom: #2f701f;
$custom-light: #6f9a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f701f",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 108.148,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48492,
    "c": 0.13212,
    "h": 140
  },
  "luminance": 0.12292
}

Semantic roles & 50–950 ramp

primary
#2F701F
secondary
#9247A4
accent
#48E0C2
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F701F

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

Preview Lab → · Contrast checker → · Palette generator →

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