#2F7622#2F7622

#2F7622 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.138 H 140.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#2F7622
RGBrgb(47, 118, 34)
HSLhsl(111, 55%, 30%)
HSVhsv(111, 71%, 46%)
CMYKcmyk(60.2%, 0%, 71.2%, 53.7%)
CIE-LABlab(43.76, -39.04, 38.06)
CIE-LCHlch(43.76, 54.52, 135.73°)
OKLaboklab(50.22% -0.1068 0.0872)
OKLCHoklch(50.22% 0.138 140.8)
XYZxyz(7.9391, 13.6760, 3.7344)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7622 #692276
analogous
#597622 #2F7622 #22763F
triadic
#2F7622 #222F76 #76222F
tetradic
#2F7622 #225976 #692276 #763F22
square
#2F7622 #225976 #692276 #763F22
split-complementary
#2F7622 #3F2276 #762259
monochromatic
#091807 #1C4614 #2F7622 #42A630 #5CCA48

Accessibility & contrast

On white

5.62
#2F7622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F7622
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7622#FFFFFF#000000##FFFFFF
##2F76221.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B16
Deuteranopia (green-blind)
#70652A
Tritanopia (blue-blind)
#257265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7622;
/* rgb */ color: rgb(47, 118, 34);
/* oklch */ color: oklch(50.2% 0.138 140.8);
Tailwind
colors: {
  custom: {
    50: '#709e62',
    500: '#2f7622',
    950: '#000000',
  },
}
SCSS
$custom: #2f7622;
$custom-light: #709e62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7622",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 110.714,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50224,
    "c": 0.13788,
    "h": 140.8
  },
  "luminance": 0.13677
}

Semantic roles & 50–950 ramp

primary
#2F7622
secondary
#9A4BA9
accent
#49DFC7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2F7622

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

Preview Lab → · Contrast checker → · Palette generator →

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