#2F811F#2F811F

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

Color values

HEX#2F811F
RGBrgb(47, 129, 31)
HSLhsl(110, 61%, 31%)
HSVhsv(110, 76%, 51%)
CMYKcmyk(63.6%, 0%, 76%, 49.4%)
CIE-LABlab(47.50, -43.55, 43.14)
CIE-LCHlch(47.50, 61.30, 135.27°)
OKLaboklab(53.3% -0.1192 0.0974)
OKLCHoklch(53.3% 0.154 140.8)
XYZxyz(9.2694, 16.4029, 3.9736)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F811F #711F81
analogous
#60811F #2F811F #1F8140
triadic
#2F811F #1F2F81 #811F2F
tetradic
#2F811F #1F6081 #711F81 #81401F
square
#2F811F #1F6081 #711F81 #81401F
split-complementary
#2F811F #401F81 #811F60
monochromatic
#0B1E07 #1D5013 #2F811F #41B22B #5ED347

Accessibility & contrast

On white

4.91
#2F811F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F811F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F811F#FFFFFF#000000##FFFFFF
##2F811F1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84750C
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#227D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f811f;
/* rgb */ color: rgb(47, 129, 31);
/* oklch */ color: oklch(53.3% 0.154 140.8);
Tailwind
colors: {
  custom: {
    50: '#73a662',
    500: '#2f811f',
    950: '#000000',
  },
}
SCSS
$custom: #2f811f;
$custom-light: #73a662;
$custom-dark: #000000;
JSON
{
  "hex": "#2f811f",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 110.204,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53302,
    "c": 0.15393,
    "h": 140.8
  },
  "luminance": 0.16404
}

Semantic roles & 50–950 ramp

primary
#2F811F
secondary
#A248B4
accent
#43E4CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2F811F

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

Preview Lab → · Contrast checker → · Palette generator →

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