#2F811C#2F811C

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

Color values

HEX#2F811C
RGBrgb(47, 129, 28)
HSLhsl(109, 64%, 31%)
HSVhsv(109, 78%, 51%)
CMYKcmyk(63.6%, 0%, 78.3%, 49.4%)
CIE-LABlab(47.48, -43.78, 44.23)
CIE-LCHlch(47.48, 62.24, 134.71°)
OKLaboklab(53.28% -0.12 0.0992)
OKLCHoklch(53.28% 0.156 140.4)
XYZxyz(9.2317, 16.3878, 3.7751)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F811C #6E1C81
analogous
#61811C #2F811C #1C813B
triadic
#2F811C #1C2F81 #811C2F
tetradic
#2F811C #1C6181 #6E1C81 #813B1C
square
#2F811C #1C6181 #6E1C81 #813B1C
split-complementary
#2F811C #3B1C81 #811C61
monochromatic
#0A1C06 #1D4F11 #2F811C #41B327 #5DD642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F811C#FFFFFF#000000##FFFFFF
##2F811C1.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)
#857505
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#237D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f811c;
/* rgb */ color: rgb(47, 129, 28);
/* oklch */ color: oklch(53.3% 0.156 140.4);
Tailwind
colors: {
  custom: {
    50: '#73a660',
    500: '#2f811c',
    950: '#000000',
  },
}
SCSS
$custom: #2f811c;
$custom-light: #73a660;
$custom-dark: #000000;
JSON
{
  "hex": "#2f811c",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 108.713,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5328,
    "c": 0.15571,
    "h": 140.4
  },
  "luminance": 0.16389
}

Semantic roles & 50–950 ramp

primary
#2F811C
secondary
#9F44B4
accent
#40E7C8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F811C

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

Preview Lab → · Contrast checker → · Palette generator →

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