#2F811D#2F811D

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

Color values

HEX#2F811D
RGBrgb(47, 129, 29)
HSLhsl(109, 63%, 31%)
HSVhsv(109, 78%, 51%)
CMYKcmyk(63.6%, 0%, 77.5%, 49.4%)
CIE-LABlab(47.49, -43.71, 43.88)
CIE-LCHlch(47.49, 61.93, 134.89°)
OKLaboklab(53.29% -0.1197 0.0986)
OKLCHoklch(53.29% 0.155 140.5)
XYZxyz(9.2439, 16.3927, 3.8391)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F811D #6F1D81
analogous
#61811D #2F811D #1D813D
triadic
#2F811D #1D2F81 #811D2F
tetradic
#2F811D #1D6181 #6F1D81 #813D1D
square
#2F811D #1D6181 #6F1D81 #813D1D
split-complementary
#2F811D #3D1D81 #811D61
monochromatic
#0B1D07 #1D4F12 #2F811D #41B328 #5ED544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F811D#FFFFFF#000000##FFFFFF
##2F811D1.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)
#857507
Deuteranopia (green-blind)
#7B6E28
Tritanopia (blue-blind)
#237D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f811d;
/* rgb */ color: rgb(47, 129, 29);
/* oklch */ color: oklch(53.3% 0.155 140.5);
Tailwind
colors: {
  custom: {
    50: '#73a661',
    500: '#2f811d',
    950: '#000000',
  },
}
SCSS
$custom: #2f811d;
$custom-light: #73a661;
$custom-dark: #000000;
JSON
{
  "hex": "#2f811d",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 29
  },
  "hsl": {
    "h": 109.2,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53287,
    "c": 0.15513,
    "h": 140.5
  },
  "luminance": 0.16394
}

Semantic roles & 50–950 ramp

primary
#2F811D
secondary
#A046B4
accent
#41E6C9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F811D

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

Preview Lab → · Contrast checker → · Palette generator →

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