#2F8922#2F8922

#2F8922 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.162 H 141.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2F8922
RGBrgb(47, 137, 34)
HSLhsl(112, 60%, 34%)
HSVhsv(112, 75%, 54%)
CMYKcmyk(65.7%, 0%, 75.2%, 46.3%)
CIE-LABlab(50.23, -46.27, 44.75)
CIE-LCHlch(50.23, 64.37, 135.96°)
OKLaboklab(55.57% -0.1264 0.1012)
OKLCHoklch(55.57% 0.162 141.3)
XYZxyz(10.4061, 18.6101, 4.5568)
Luminance0.1861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8922 #7C2289
analogous
#628922 #2F8922 #228948
triadic
#2F8922 #222F89 #89222F
tetradic
#2F8922 #226289 #7C2289 #894822
square
#2F8922 #226289 #7C2289 #894822
split-complementary
#2F8922 #482289 #892262
monochromatic
#0D270A #1E5816 #2F8922 #40BA2E #62D451

Accessibility & contrast

On white

4.45
#2F8922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2F8922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8922
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8922#FFFFFF#000000##000000
##2F89221.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0F
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#1F8575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f8922;
/* rgb */ color: rgb(47, 137, 34);
/* oklch */ color: oklch(55.6% 0.162 141.3);
Tailwind
colors: {
  custom: {
    50: '#74ac64',
    500: '#2f8922',
    950: '#000000',
  },
}
SCSS
$custom: #2f8922;
$custom-light: #74ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8922",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 112.427,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55567,
    "c": 0.16188,
    "h": 141.3
  },
  "luminance": 0.18611
}

Semantic roles & 50–950 ramp

primary
#2F8922
secondary
#AA4FB8
accent
#44E3CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8922

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

Preview Lab → · Contrast checker → · Palette generator →

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