#2F701A#2F701A

#2F701A is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.136 H 139.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2F701A
RGBrgb(47, 112, 26)
HSLhsl(105, 62%, 27%)
HSVhsv(105, 77%, 44%)
CMYKcmyk(58%, 0%, 76.8%, 56.1%)
CIE-LABlab(41.64, -37.34, 39.18)
CIE-LCHlch(41.64, 54.13, 133.62°)
OKLaboklab(48.45% -0.1027 0.0884)
OKLCHoklch(48.45% 0.136 139.3)
XYZxyz(7.1526, 12.2667, 2.9679)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F701A #5B1A70
analogous
#5A701A #2F701A #1A7030
triadic
#2F701A #1A2F70 #701A2F
tetradic
#2F701A #1A5A70 #5B1A70 #70301A
square
#2F701A #1A5A70 #5B1A70 #70301A
split-complementary
#2F701A #301A70 #701A5A
monochromatic
#0A1906 #1A3E0E #2F701A #44A226 #5AD034

Accessibility & contrast

On white

6.08
#2F701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2F701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F701A
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F701A#FFFFFF#000000##FFFFFF
##2F701A1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73660A
Deuteranopia (green-blind)
#6B6023
Tritanopia (blue-blind)
#286C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f701a;
/* rgb */ color: rgb(47, 112, 26);
/* oklch */ color: oklch(48.4% 0.136 139.3);
Tailwind
colors: {
  custom: {
    50: '#6f9a5d',
    500: '#2f701a',
    950: '#000000',
  },
}
SCSS
$custom: #2f701a;
$custom-light: #6f9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f701a",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 105.349,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48449,
    "c": 0.13554,
    "h": 139.3
  },
  "luminance": 0.12267
}

Semantic roles & 50–950 ramp

primary
#2F701A
secondary
#8D41A5
accent
#42E5BE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F701A

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

Preview Lab → · Contrast checker → · Palette generator →

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