#2F831E#2F831E

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

Color values

HEX#2F831E
RGBrgb(47, 131, 30)
HSLhsl(110, 63%, 32%)
HSVhsv(110, 77%, 51%)
CMYKcmyk(64.1%, 0%, 77.1%, 48.6%)
CIE-LABlab(48.17, -44.38, 44.19)
CIE-LCHlch(48.17, 62.62, 135.12°)
OKLaboklab(53.86% -0.1215 0.0994)
OKLCHoklch(53.86% 0.157 140.7)
XYZxyz(9.5225, 16.9298, 3.9940)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F831E #721E83
analogous
#62831E #2F831E #1E8340
triadic
#2F831E #1E2F83 #831E2F
tetradic
#2F831E #1E6283 #721E83 #83401E
square
#2F831E #1E6283 #721E83 #83401E
split-complementary
#2F831E #401E83 #831E62
monochromatic
#0B1F07 #1D5113 #2F831E #41B529 #5FD547

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F831E#FFFFFF#000000##FFFFFF
##2F831E1.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)
#877709
Deuteranopia (green-blind)
#7C7029
Tritanopia (blue-blind)
#227F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f831e;
/* rgb */ color: rgb(47, 131, 30);
/* oklch */ color: oklch(53.9% 0.157 140.7);
Tailwind
colors: {
  custom: {
    50: '#73a861',
    500: '#2f831e',
    950: '#000000',
  },
}
SCSS
$custom: #2f831e;
$custom-light: #73a861;
$custom-dark: #000000;
JSON
{
  "hex": "#2f831e",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 109.901,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53856,
    "c": 0.15699,
    "h": 140.7
  },
  "luminance": 0.16931
}

Semantic roles & 50–950 ramp

primary
#2F831E
secondary
#A347B6
accent
#42E6CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2F831E

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

Preview Lab → · Contrast checker → · Palette generator →

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