#2F7628#2F7628

#2F7628 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.3% C 0.133 H 141.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#2F7628
RGBrgb(47, 118, 40)
HSLhsl(115, 49%, 31%)
HSVhsv(115, 66%, 46%)
CMYKcmyk(60.2%, 0%, 66.1%, 53.7%)
CIE-LABlab(43.82, -38.42, 35.40)
CIE-LCHlch(43.82, 52.24, 137.34°)
OKLaboklab(50.29% -0.1048 0.0823)
OKLCHoklch(50.29% 0.133 141.9)
XYZxyz(8.0333, 13.7137, 4.2307)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7628 #6F2876
analogous
#567628 #2F7628 #287648
triadic
#2F7628 #282F76 #76282F
tetradic
#2F7628 #285676 #6F2876 #764828
square
#2F7628 #285676 #6F2876 #764828
split-complementary
#2F7628 #482876 #762856
monochromatic
#0B1B09 #1D4819 #2F7628 #41A437 #5EC554

Accessibility & contrast

On white

5.61
#2F7628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#2F7628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7628
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7628#FFFFFF#000000##FFFFFF
##2F76281.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1F
Deuteranopia (green-blind)
#70652F
Tritanopia (blue-blind)
#247266
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f7628;
/* rgb */ color: rgb(47, 118, 40);
/* oklch */ color: oklch(50.3% 0.133 141.9);
Tailwind
colors: {
  custom: {
    50: '#709e65',
    500: '#2f7628',
    950: '#000000',
  },
}
SCSS
$custom: #2f7628;
$custom-light: #709e65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7628",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 114.615,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50287,
    "c": 0.13322,
    "h": 141.9
  },
  "luminance": 0.13714
}

Semantic roles & 50–950 ramp

primary
#2F7628
secondary
#A052A8
accent
#4FD9CD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F7628

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

Preview Lab → · Contrast checker → · Palette generator →

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