#2F792E#2F792E

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

Color values

HEX#2F792E
RGBrgb(47, 121, 46)
HSLhsl(119, 45%, 33%)
HSVhsv(119, 62%, 47%)
CMYKcmyk(61.2%, 0%, 62%, 52.5%)
CIE-LABlab(44.91, -38.92, 33.73)
CIE-LCHlch(44.91, 51.50, 139.09°)
OKLaboklab(51.2% -0.1058 0.0793)
OKLCHoklch(51.2% 0.132 143.1)
XYZxyz(8.5023, 14.4756, 4.9302)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F792E #782E79
analogous
#54792E #2F792E #2E7952
triadic
#2F792E #2E2F79 #792E2F
tetradic
#2F792E #2E5479 #782E79 #79522E
square
#2F792E #2E5479 #782E79 #79522E
split-complementary
#2F792E #522E79 #792E54
monochromatic
#0D200C #1E4D1D #2F792E #40A53F #60C25F

Accessibility & contrast

On white

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

On black

3.90
#2F792E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F792E#FFFFFF#000000##FFFFFF
##2F792E1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f792e;
/* rgb */ color: rgb(47, 121, 46);
/* oklch */ color: oklch(51.2% 0.132 143.1);
Tailwind
colors: {
  custom: {
    50: '#70a069',
    500: '#2f792e',
    950: '#000000',
  },
}
SCSS
$custom: #2f792e;
$custom-light: #70a069;
$custom-dark: #000000;
JSON
{
  "hex": "#2f792e",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 119.2,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51204,
    "c": 0.13222,
    "h": 143.1
  },
  "luminance": 0.14476
}

Semantic roles & 50–950 ramp

primary
#2F792E
secondary
#A85AA9
accent
#53D5D3
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2F792E

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

Preview Lab → · Contrast checker → · Palette generator →

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