#2F8222#2F8222

#2F8222 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.153 H 141.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2F8222
RGBrgb(47, 130, 34)
HSLhsl(112, 59%, 32%)
HSVhsv(112, 74%, 51%)
CMYKcmyk(63.8%, 0%, 73.8%, 49%)
CIE-LABlab(47.86, -43.68, 42.34)
CIE-LCHlch(47.86, 60.83, 135.90°)
OKLaboklab(53.61% -0.1194 0.0961)
OKLCHoklch(53.61% 0.153 141.2)
XYZxyz(9.4432, 16.6842, 4.2358)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8222 #752282
analogous
#5F8222 #2F8222 #228245
triadic
#2F8222 #222F82 #82222F
tetradic
#2F8222 #225F82 #752282 #824522
square
#2F8222 #225F82 #752282 #824522
split-complementary
#2F8222 #452282 #82225F
monochromatic
#0C2109 #1D5115 #2F8222 #41B32F #5FD14E

Accessibility & contrast

On white

4.84
#2F8222 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2F8222 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8222
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8222#FFFFFF#000000##FFFFFF
##2F82221.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857612
Deuteranopia (green-blind)
#7B6F2C
Tritanopia (blue-blind)
#227E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8222;
/* rgb */ color: rgb(47, 130, 34);
/* oklch */ color: oklch(53.6% 0.153 141.2);
Tailwind
colors: {
  custom: {
    50: '#73a763',
    500: '#2f8222',
    950: '#000000',
  },
}
SCSS
$custom: #2f8222;
$custom-light: #73a763;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8222",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 111.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53607,
    "c": 0.15327,
    "h": 141.2
  },
  "luminance": 0.16685
}

Semantic roles & 50–950 ramp

primary
#2F8222
secondary
#A64CB4
accent
#46E2CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2F8222

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

Preview Lab → · Contrast checker → · Palette generator →

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