#2F7929#2F7929

#2F7929 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.136 H 142.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2F7929
RGBrgb(47, 121, 41)
HSLhsl(116, 49%, 32%)
HSVhsv(116, 66%, 47%)
CMYKcmyk(61.2%, 0%, 66.1%, 52.5%)
CIE-LABlab(44.86, -39.51, 36.08)
CIE-LCHlch(44.86, 53.50, 137.60°)
OKLaboklab(51.15% -0.1077 0.0838)
OKLCHoklch(51.15% 0.136 142.1)
XYZxyz(8.4095, 14.4384, 4.4411)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7929 #732979
analogous
#577929 #2F7929 #29794B
triadic
#2F7929 #292F79 #79292F
tetradic
#2F7929 #295779 #732979 #794B29
square
#2F7929 #295779 #732979 #794B29
split-complementary
#2F7929 #4B2979 #792957
monochromatic
#0B1E0A #1D4B1A #2F7929 #41A738 #5FC656

Accessibility & contrast

On white

5.40
#2F7929 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2F7929 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7929
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7929#FFFFFF#000000##FFFFFF
##2F79291.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1F
Deuteranopia (green-blind)
#736830
Tritanopia (blue-blind)
#237568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f7929;
/* rgb */ color: rgb(47, 121, 41);
/* oklch */ color: oklch(51.1% 0.136 142.1);
Tailwind
colors: {
  custom: {
    50: '#70a066',
    500: '#2f7929',
    950: '#000000',
  },
}
SCSS
$custom: #2f7929;
$custom-light: #70a066;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7929",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 41
  },
  "hsl": {
    "h": 115.5,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51145,
    "c": 0.13646,
    "h": 142.1
  },
  "luminance": 0.14439
}

Semantic roles & 50–950 ramp

primary
#2F7929
secondary
#A453AB
accent
#4FD9CF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2F7929

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

Preview Lab → · Contrast checker → · Palette generator →

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