#2F831F#2F831F

#2F831F is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.156 H 140.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2F831F
RGBrgb(47, 131, 31)
HSLhsl(110, 62%, 32%)
HSVhsv(110, 76%, 51%)
CMYKcmyk(64.1%, 0%, 76.3%, 48.6%)
CIE-LABlab(48.18, -44.30, 43.82)
CIE-LCHlch(48.18, 62.31, 135.31°)
OKLaboklab(53.86% -0.1212 0.0988)
OKLCHoklch(53.86% 0.156 140.8)
XYZxyz(9.5354, 16.9350, 4.0623)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F831F #731F83
analogous
#61831F #2F831F #1F8341
triadic
#2F831F #1F2F83 #831F2F
tetradic
#2F831F #1F6183 #731F83 #83411F
square
#2F831F #1F6183 #731F83 #83411F
split-complementary
#2F831F #411F83 #831F61
monochromatic
#0B2008 #1D5213 #2F831F #41B42B #5FD449

Accessibility & contrast

On white

4.79
#2F831F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2F831F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F831F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F831F#FFFFFF#000000##FFFFFF
##2F831F1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770B
Deuteranopia (green-blind)
#7C702A
Tritanopia (blue-blind)
#227F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f831f;
/* rgb */ color: rgb(47, 131, 31);
/* oklch */ color: oklch(53.9% 0.156 140.8);
Tailwind
colors: {
  custom: {
    50: '#73a862',
    500: '#2f831f',
    950: '#000000',
  },
}
SCSS
$custom: #2f831f;
$custom-light: #73a862;
$custom-dark: #000000;
JSON
{
  "hex": "#2f831f",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 110.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53864,
    "c": 0.1564,
    "h": 140.8
  },
  "luminance": 0.16936
}

Semantic roles & 50–950 ramp

primary
#2F831F
secondary
#A448B6
accent
#43E5CB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2F831F

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

Preview Lab → · Contrast checker → · Palette generator →

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