#2F792D#2F792D

#2F792D is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.133 H 142.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#2F792D
RGBrgb(47, 121, 45)
HSLhsl(118, 46%, 33%)
HSVhsv(118, 63%, 47%)
CMYKcmyk(61.2%, 0%, 62.8%, 52.5%)
CIE-LABlab(44.90, -39.04, 34.21)
CIE-LCHlch(44.90, 51.91, 138.77°)
OKLaboklab(51.19% -0.1062 0.0803)
OKLCHoklch(51.19% 0.133 142.9)
XYZxyz(8.4829, 14.4678, 4.8276)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F792D #772D79
analogous
#55792D #2F792D #2D7951
triadic
#2F792D #2D2F79 #792D2F
tetradic
#2F792D #2D5579 #772D79 #79512D
square
#2F792D #2D5579 #772D79 #79512D
split-complementary
#2F792D #512D79 #792D55
monochromatic
#0C200C #1E4C1C #2F792D #40A63E #60C35D

Accessibility & contrast

On white

5.39
#2F792D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F792D
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F792D#FFFFFF#000000##FFFFFF
##2F792D1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E25
Deuteranopia (green-blind)
#726833
Tritanopia (blue-blind)
#227669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f792d;
/* rgb */ color: rgb(47, 121, 45);
/* oklch */ color: oklch(51.2% 0.133 142.9);
Tailwind
colors: {
  custom: {
    50: '#70a069',
    500: '#2f792d',
    950: '#000000',
  },
}
SCSS
$custom: #2f792d;
$custom-light: #70a069;
$custom-dark: #000000;
JSON
{
  "hex": "#2f792d",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 118.421,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51192,
    "c": 0.1331,
    "h": 142.9
  },
  "luminance": 0.14469
}

Semantic roles & 50–950 ramp

primary
#2F792D
secondary
#A758A9
accent
#52D5D2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2F792D

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

Preview Lab → · Contrast checker → · Palette generator →

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