#2F8122#2F8122

#2F8122 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.152 H 141.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2F8122
RGBrgb(47, 129, 34)
HSLhsl(112, 58%, 32%)
HSVhsv(112, 74%, 51%)
CMYKcmyk(63.6%, 0%, 73.6%, 49.4%)
CIE-LABlab(47.52, -43.30, 41.99)
CIE-LCHlch(47.52, 60.32, 135.88°)
OKLaboklab(53.33% -0.1184 0.0954)
OKLCHoklch(53.33% 0.152 141.1)
XYZxyz(9.3108, 16.4195, 4.1917)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8122 #742281
analogous
#5F8122 #2F8122 #228144
triadic
#2F8122 #222F81 #81222F
tetradic
#2F8122 #225F81 #742281 #814422
square
#2F8122 #225F81 #742281 #814422
split-complementary
#2F8122 #442281 #81225F
monochromatic
#0C2008 #1D5115 #2F8122 #41B12F #5FD04D

Accessibility & contrast

On white

4.90
#2F8122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2F8122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8122
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8122#FFFFFF#000000##FFFFFF
##2F81221.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847512
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#227D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f8122;
/* rgb */ color: rgb(47, 129, 34);
/* oklch */ color: oklch(53.3% 0.152 141.1);
Tailwind
colors: {
  custom: {
    50: '#72a663',
    500: '#2f8122',
    950: '#000000',
  },
}
SCSS
$custom: #2f8122;
$custom-light: #72a663;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8122",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 34
  },
  "hsl": {
    "h": 111.789,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53326,
    "c": 0.15202,
    "h": 141.1
  },
  "luminance": 0.1642
}

Semantic roles & 50–950 ramp

primary
#2F8122
secondary
#A54BB3
accent
#46E1CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2F8122

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

Preview Lab → · Contrast checker → · Palette generator →

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