#2F8D22#2F8D22

#2F8D22 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.167 H 141.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2F8D22
RGBrgb(47, 141, 34)
HSLhsl(113, 61%, 34%)
HSVhsv(113, 76%, 55%)
CMYKcmyk(66.7%, 0%, 75.9%, 44.7%)
CIE-LABlab(51.57, -47.72, 46.10)
CIE-LCHlch(51.57, 66.35, 135.98°)
OKLaboklab(56.68% -0.1303 0.104)
OKLCHoklch(56.68% 0.167 141.4)
XYZxyz(10.9853, 19.7685, 4.7498)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D22 #80228D
analogous
#658D22 #2F8D22 #228D4B
triadic
#2F8D22 #222F8D #8D222F
tetradic
#2F8D22 #22658D #80228D #8D4B22
square
#2F8D22 #22658D #80228D #8D4B22
split-complementary
#2F8D22 #4B228D #8D2265
monochromatic
#0E2A0A #1F5C16 #2F8D22 #3FBE2E #63D654

Accessibility & contrast

On white

4.24
#2F8D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2F8D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D22
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D22#FFFFFF#000000##000000
##2F8D221.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800D
Deuteranopia (green-blind)
#85782D
Tritanopia (blue-blind)
#1D8878
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8d22;
/* rgb */ color: rgb(47, 141, 34);
/* oklch */ color: oklch(56.7% 0.167 141.4);
Tailwind
colors: {
  custom: {
    50: '#75af65',
    500: '#2f8d22',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d22;
$custom-light: #75af65;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d22",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 112.71,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56682,
    "c": 0.1667,
    "h": 141.4
  },
  "luminance": 0.1977
}

Semantic roles & 50–950 ramp

primary
#2F8D22
secondary
#AD51B9
accent
#44E4D1
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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