#2F720F#2F720F

#2F720F is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.144 H 138.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2F720F
RGBrgb(47, 114, 15)
HSLhsl(101, 77%, 25%)
HSVhsv(101, 87%, 45%)
CMYKcmyk(58.8%, 0%, 86.8%, 55.3%)
CIE-LABlab(42.27, -38.85, 43.50)
CIE-LCHlch(42.27, 58.32, 131.76°)
OKLaboklab(48.95% -0.1075 0.0957)
OKLCHoklch(48.95% 0.144 138.3)
XYZxyz(7.2756, 12.6728, 2.5146)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F720F #520F72
analogous
#60720F #2F720F #0F7220
triadic
#2F720F #0F2F72 #720F2F
tetradic
#2F720F #0F6072 #520F72 #72200F
square
#2F720F #0F6072 #520F72 #72200F
split-complementary
#2F720F #200F72 #720F60
monochromatic
#0B1B04 #193C08 #2F720F #45A816 #5CDE1D

Accessibility & contrast

On white

5.94
#2F720F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2F720F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F720F
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F720F#FFFFFF#000000##FFFFFF
##2F720F1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6D621C
Tritanopia (blue-blind)
#296E60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f720f;
/* rgb */ color: rgb(47, 114, 15);
/* oklch */ color: oklch(48.9% 0.144 138.3);
Tailwind
colors: {
  custom: {
    50: '#709b58',
    500: '#2f720f',
    950: '#000000',
  },
}
SCSS
$custom: #2f720f;
$custom-light: #709b58;
$custom-dark: #000000;
JSON
{
  "hex": "#2f720f",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 15
  },
  "hsl": {
    "h": 100.606,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48948,
    "c": 0.14392,
    "h": 138.3
  },
  "luminance": 0.12673
}

Semantic roles & 50–950 ramp

primary
#2F720F
secondary
#8333AA
accent
#35F3B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F720F

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

Preview Lab → · Contrast checker → · Palette generator →

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