#2F8422#2F8422

#2F8422 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.156 H 141.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2F8422
RGBrgb(47, 132, 34)
HSLhsl(112, 59%, 33%)
HSVhsv(112, 74%, 52%)
CMYKcmyk(64.4%, 0%, 74.2%, 48.2%)
CIE-LABlab(48.54, -44.43, 43.03)
CIE-LCHlch(48.54, 61.85, 135.91°)
OKLaboklab(54.17% -0.1214 0.0976)
OKLCHoklch(54.17% 0.156 141.2)
XYZxyz(9.7118, 17.2214, 4.3253)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8422 #772284
analogous
#608422 #2F8422 #228446
triadic
#2F8422 #222F84 #84222F
tetradic
#2F8422 #226084 #772284 #844622
square
#2F8422 #226084 #772284 #844622
split-complementary
#2F8422 #462284 #842260
monochromatic
#0C2309 #1E5315 #2F8422 #40B52F #60D24F

Accessibility & contrast

On white

4.73
#2F8422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2F8422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8422
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8422#FFFFFF#000000##FFFFFF
##2F84221.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877811
Deuteranopia (green-blind)
#7D712C
Tritanopia (blue-blind)
#218071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8422;
/* rgb */ color: rgb(47, 132, 34);
/* oklch */ color: oklch(54.2% 0.156 141.2);
Tailwind
colors: {
  custom: {
    50: '#73a964',
    500: '#2f8422',
    950: '#000000',
  },
}
SCSS
$custom: #2f8422;
$custom-light: #73a964;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8422",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 112.041,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54168,
    "c": 0.15576,
    "h": 141.2
  },
  "luminance": 0.17222
}

Semantic roles & 50–950 ramp

primary
#2F8422
secondary
#A74DB5
accent
#46E2CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F8422

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

Preview Lab → · Contrast checker → · Palette generator →

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