#2F8221#2F8221

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

Color values

HEX#2F8221
RGBrgb(47, 130, 33)
HSLhsl(111, 60%, 32%)
HSVhsv(111, 75%, 51%)
CMYKcmyk(63.8%, 0%, 74.6%, 49%)
CIE-LABlab(47.85, -43.76, 42.72)
CIE-LCHlch(47.85, 61.16, 135.69°)
OKLaboklab(53.6% -0.1197 0.0968)
OKLCHoklch(53.6% 0.154 141)
XYZxyz(9.4290, 16.6785, 4.1609)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8221 #742182
analogous
#608221 #2F8221 #218244
triadic
#2F8221 #212F82 #82212F
tetradic
#2F8221 #216082 #742182 #824421
square
#2F8221 #216082 #742182 #824421
split-complementary
#2F8221 #442182 #822160
monochromatic
#0C2008 #1D5115 #2F8221 #41B32D #5FD24C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8221#FFFFFF#000000##FFFFFF
##2F82211.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)
#857610
Deuteranopia (green-blind)
#7B6F2B
Tritanopia (blue-blind)
#227E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8221;
/* rgb */ color: rgb(47, 130, 33);
/* oklch */ color: oklch(53.6% 0.154 141.0);
Tailwind
colors: {
  custom: {
    50: '#73a763',
    500: '#2f8221',
    950: '#000000',
  },
}
SCSS
$custom: #2f8221;
$custom-light: #73a763;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8221",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 111.34,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53599,
    "c": 0.15391,
    "h": 141
  },
  "luminance": 0.16679
}

Semantic roles & 50–950 ramp

primary
#2F8221
secondary
#A54AB4
accent
#45E3CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2F8221

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

Preview Lab → · Contrast checker → · Palette generator →

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