#2F8F22#2F8F22

#2F8F22 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.2% C 0.169 H 141.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2F8F22
RGBrgb(47, 143, 34)
HSLhsl(113, 62%, 35%)
HSVhsv(113, 76%, 56%)
CMYKcmyk(67.1%, 0%, 76.2%, 43.9%)
CIE-LABlab(52.25, -48.43, 46.77)
CIE-LCHlch(52.25, 67.33, 136.00°)
OKLaboklab(57.24% -0.1322 0.1054)
OKLCHoklch(57.24% 0.169 141.4)
XYZxyz(11.2829, 20.3636, 4.8490)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F22 #82228F
analogous
#668F22 #2F8F22 #228F4C
triadic
#2F8F22 #222F8F #8F222F
tetradic
#2F8F22 #22668F #82228F #8F4C22
square
#2F8F22 #22668F #82228F #8F4C22
split-complementary
#2F8F22 #4C228F #8F2266
monochromatic
#0E2C0A #1F5E16 #2F8F22 #3FC02E #64D755

Accessibility & contrast

On white

4.14
#2F8F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2F8F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8F22
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8F22#FFFFFF#000000##000000
##2F8F221.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93810B
Deuteranopia (green-blind)
#877A2E
Tritanopia (blue-blind)
#1C8A7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f8f22;
/* rgb */ color: rgb(47, 143, 34);
/* oklch */ color: oklch(57.2% 0.169 141.4);
Tailwind
colors: {
  custom: {
    50: '#75b165',
    500: '#2f8f22',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f22;
$custom-light: #75b165;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f22",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 112.844,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57238,
    "c": 0.16908,
    "h": 141.4
  },
  "luminance": 0.20365
}

Semantic roles & 50–950 ramp

primary
#2F8F22
secondary
#AE52BA
accent
#43E5D1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #2F8F22

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

Preview Lab → · Contrast checker → · Palette generator →

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