#2F7119#2F7119

#2F7119 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.137 H 139.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2F7119
RGBrgb(47, 113, 25)
HSLhsl(105, 64%, 27%)
HSVhsv(105, 78%, 44%)
CMYKcmyk(58.4%, 0%, 77.9%, 55.7%)
CIE-LABlab(41.98, -37.82, 39.91)
CIE-LCHlch(41.98, 54.98, 133.46°)
OKLaboklab(48.73% -0.1041 0.0898)
OKLCHoklch(48.73% 0.137 139.2)
XYZxyz(7.2526, 12.4842, 2.9470)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7119 #5B1971
analogous
#5B7119 #2F7119 #19712F
triadic
#2F7119 #192F71 #71192F
tetradic
#2F7119 #195B71 #5B1971 #712F19
square
#2F7119 #195B71 #5B1971 #712F19
split-complementary
#2F7119 #2F1971 #71195B
monochromatic
#0A1906 #1A3F0E #2F7119 #44A324 #5AD233

Accessibility & contrast

On white

6.01
#2F7119 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2F7119 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7119
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7119#FFFFFF#000000##FFFFFF
##2F71191.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746607
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#286D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f7119;
/* rgb */ color: rgb(47, 113, 25);
/* oklch */ color: oklch(48.7% 0.137 139.2);
Tailwind
colors: {
  custom: {
    50: '#709a5c',
    500: '#2f7119',
    950: '#000000',
  },
}
SCSS
$custom: #2f7119;
$custom-light: #709a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7119",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 25
  },
  "hsl": {
    "h": 105,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48726,
    "c": 0.13746,
    "h": 139.2
  },
  "luminance": 0.12485
}

Semantic roles & 50–950 ramp

primary
#2F7119
secondary
#8D40A6
accent
#41E7BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7119

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

Preview Lab → · Contrast checker → · Palette generator →

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