#2F741F#2F741F

#2F741F is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.137 H 140.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#2F741F
RGBrgb(47, 116, 31)
HSLhsl(109, 58%, 29%)
HSVhsv(109, 73%, 45%)
CMYKcmyk(59.5%, 0%, 73.3%, 54.5%)
CIE-LABlab(43.05, -38.52, 38.60)
CIE-LCHlch(43.05, 54.53, 134.94°)
OKLaboklab(49.63% -0.1056 0.0879)
OKLCHoklch(49.63% 0.137 140.2)
XYZxyz(7.6647, 13.1934, 3.4387)
Luminance0.1319 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F741F #641F74
analogous
#5A741F #2F741F #1F743A
triadic
#2F741F #1F2F74 #741F2F
tetradic
#2F741F #1F5A74 #641F74 #743A1F
square
#2F741F #1F5A74 #641F74 #743A1F
split-complementary
#2F741F #3A1F74 #741F5A
monochromatic
#0A1806 #1B4412 #2F741F #43A42C #5BCC41

Accessibility & contrast

On white

5.77
#2F741F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2F741F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F741F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F741F#FFFFFF#000000##FFFFFF
##2F741F1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#6F6327
Tritanopia (blue-blind)
#277063
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f741f;
/* rgb */ color: rgb(47, 116, 31);
/* oklch */ color: oklch(49.6% 0.137 140.2);
Tailwind
colors: {
  custom: {
    50: '#709d60',
    500: '#2f741f',
    950: '#000000',
  },
}
SCSS
$custom: #2f741f;
$custom-light: #709d60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f741f",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 108.706,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49629,
    "c": 0.13741,
    "h": 140.2
  },
  "luminance": 0.13194
}

Semantic roles & 50–950 ramp

primary
#2F741F
secondary
#9647A8
accent
#47E1C4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F741F

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

Preview Lab → · Contrast checker → · Palette generator →

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