#2F762F#2F762F

#2F762F is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.4% C 0.127 H 143.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#2F762F
RGBrgb(47, 118, 47)
HSLhsl(120, 43%, 32%)
HSVhsv(120, 60%, 46%)
CMYKcmyk(60.2%, 0%, 60.2%, 53.7%)
CIE-LABlab(43.90, -37.56, 32.05)
CIE-LCHlch(43.90, 49.38, 139.53°)
OKLaboklab(50.37% -0.1021 0.0758)
OKLCHoklch(50.37% 0.127 143.4)
XYZxyz(8.1634, 13.7657, 4.9156)
Luminance0.1377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F762F #762F76
analogous
#53762F #2F762F #2F7653
triadic
#2F762F #2F2F76 #762F2F
tetradic
#2F762F #2F5376 #762F76 #76532F
square
#2F762F #2F5376 #762F76 #76532F
split-complementary
#2F762F #532F76 #762F53
monochromatic
#0C1E0C #1E4A1E #2F762F #40A240 #60C060

Accessibility & contrast

On white

5.60
#2F762F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#2F762F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F762F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F762F#FFFFFF#000000##FFFFFF
##2F762F1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786C28
Deuteranopia (green-blind)
#6F6535
Tritanopia (blue-blind)
#237366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f762f;
/* rgb */ color: rgb(47, 118, 47);
/* oklch */ color: oklch(50.4% 0.127 143.4);
Tailwind
colors: {
  custom: {
    50: '#6f9e6a',
    500: '#2f762f',
    950: '#000000',
  },
}
SCSS
$custom: #2f762f;
$custom-light: #6f9e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f762f",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 43.03,
    "l": 32.353
  },
  "oklch": {
    "l": 0.50374,
    "c": 0.12714,
    "h": 143.4
  },
  "luminance": 0.13766
}

Semantic roles & 50–950 ramp

primary
#2F762F
secondary
#A75AA7
accent
#55D3D3
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #2F762F

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

Preview Lab → · Contrast checker → · Palette generator →

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