#2F8822#2F8822

#2F8822 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.161 H 141.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2F8822
RGBrgb(47, 136, 34)
HSLhsl(112, 60%, 33%)
HSVhsv(112, 75%, 53%)
CMYKcmyk(65.4%, 0%, 75%, 46.7%)
CIE-LABlab(49.89, -45.90, 44.41)
CIE-LCHlch(49.89, 63.87, 135.95°)
OKLaboklab(55.29% -0.1254 0.1005)
OKLCHoklch(55.29% 0.161 141.3)
XYZxyz(10.2647, 18.3271, 4.5096)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8822 #7B2288
analogous
#628822 #2F8822 #228848
triadic
#2F8822 #222F88 #88222F
tetradic
#2F8822 #226288 #7B2288 #884822
square
#2F8822 #226288 #7B2288 #884822
split-complementary
#2F8822 #482288 #882262
monochromatic
#0D260A #1E5716 #2F8822 #40B92E #62D351

Accessibility & contrast

On white

4.50
#2F8822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2F8822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8822
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8822#FFFFFF#000000##000000
##2F88221.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B0F
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#1F8474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f8822;
/* rgb */ color: rgb(47, 136, 34);
/* oklch */ color: oklch(55.3% 0.161 141.3);
Tailwind
colors: {
  custom: {
    50: '#74ac64',
    500: '#2f8822',
    950: '#000000',
  },
}
SCSS
$custom: #2f8822;
$custom-light: #74ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8822",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 112.353,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55288,
    "c": 0.16067,
    "h": 141.3
  },
  "luminance": 0.18328
}

Semantic roles & 50–950 ramp

primary
#2F8822
secondary
#AA4FB7
accent
#45E3CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8822

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

Preview Lab → · Contrast checker → · Palette generator →

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