#2F7A22#2F7A22

#2F7A22 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.4% C 0.143 H 140.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2F7A22
RGBrgb(47, 122, 34)
HSLhsl(111, 56%, 31%)
HSVhsv(111, 72%, 48%)
CMYKcmyk(61.5%, 0%, 72.1%, 52.2%)
CIE-LABlab(45.13, -40.62, 39.51)
CIE-LCHlch(45.13, 56.66, 135.79°)
OKLaboklab(51.36% -0.1111 0.0902)
OKLCHoklch(51.36% 0.143 140.9)
XYZxyz(8.4202, 14.6381, 3.8948)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7A22 #6D227A
analogous
#5B7A22 #2F7A22 #227A41
triadic
#2F7A22 #222F7A #7A222F
tetradic
#2F7A22 #225B7A #6D227A #7A4122
square
#2F7A22 #225B7A #6D227A #7A4122
split-complementary
#2F7A22 #41227A #7A225B
monochromatic
#0A1A07 #1D4A15 #2F7A22 #41AA2F #5DCD4A

Accessibility & contrast

On white

5.35
#2F7A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2F7A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7A22
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7A22#FFFFFF#000000##FFFFFF
##2F7A221.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F15
Deuteranopia (green-blind)
#74682A
Tritanopia (blue-blind)
#247668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f7a22;
/* rgb */ color: rgb(47, 122, 34);
/* oklch */ color: oklch(51.4% 0.143 140.9);
Tailwind
colors: {
  custom: {
    50: '#71a162',
    500: '#2f7a22',
    950: '#000000',
  },
}
SCSS
$custom: #2f7a22;
$custom-light: #71a162;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7a22",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 111.136,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51355,
    "c": 0.14311,
    "h": 140.9
  },
  "luminance": 0.14639
}

Semantic roles & 50–950 ramp

primary
#2F7A22
secondary
#9E4BAD
accent
#48E0C9
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #2F7A22

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

Preview Lab → · Contrast checker → · Palette generator →

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