#2F712F#2F712F

#2F712F is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.120 H 143.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2F712F
RGBrgb(47, 113, 47)
HSLhsl(120, 41%, 31%)
HSVhsv(120, 58%, 44%)
CMYKcmyk(58.4%, 0%, 58.4%, 55.7%)
CIE-LABlab(42.18, -35.48, 30.04)
CIE-LCHlch(42.18, 46.49, 139.75°)
OKLaboklab(48.97% -0.0964 0.0714)
OKLCHoklch(48.97% 0.12 143.5)
XYZxyz(7.5901, 12.6192, 4.7245)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F712F #712F71
analogous
#50712F #2F712F #2F7150
triadic
#2F712F #2F2F71 #712F2F
tetradic
#2F712F #2F5071 #712F71 #71502F
square
#2F712F #2F5071 #712F71 #71502F
split-complementary
#2F712F #502F71 #712F50
monochromatic
#0B1B0B #1D461D #2F712F #419C41 #5EBC5E

Accessibility & contrast

On white

5.96
#2F712F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2F712F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F712F
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F712F#FFFFFF#000000##FFFFFF
##2F712F1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736729
Deuteranopia (green-blind)
#6B6134
Tritanopia (blue-blind)
#246E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f712f;
/* rgb */ color: rgb(47, 113, 47);
/* oklch */ color: oklch(49.0% 0.120 143.5);
Tailwind
colors: {
  custom: {
    50: '#6e9a69',
    500: '#2f712f',
    950: '#000000',
  },
}
SCSS
$custom: #2f712f;
$custom-light: #6e9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#2f712f",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.48965,
    "c": 0.11999,
    "h": 143.5
  },
  "luminance": 0.1262
}

Semantic roles & 50–950 ramp

primary
#2F712F
secondary
#A25AA2
accent
#57D1D1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F712F

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

Preview Lab → · Contrast checker → · Palette generator →

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