#2F811E#2F811E

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

Color values

HEX#2F811E
RGBrgb(47, 129, 30)
HSLhsl(110, 62%, 31%)
HSVhsv(110, 77%, 51%)
CMYKcmyk(63.6%, 0%, 76.7%, 49.4%)
CIE-LABlab(47.49, -43.63, 43.51)
CIE-LCHlch(47.49, 61.62, 135.08°)
OKLaboklab(53.29% -0.1195 0.098)
OKLCHoklch(53.29% 0.155 140.6)
XYZxyz(9.2564, 16.3977, 3.9053)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F811E #701E81
analogous
#60811E #2F811E #1E813E
triadic
#2F811E #1E2F81 #811E2F
tetradic
#2F811E #1E6081 #701E81 #813E1E
square
#2F811E #1E6081 #701E81 #813E1E
split-complementary
#2F811E #3E1E81 #811E60
monochromatic
#0B1E07 #1D4F12 #2F811E #41B32A #5ED446

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2f811e;
/* rgb */ color: rgb(47, 129, 30);
/* oklch */ color: oklch(53.3% 0.155 140.6);
Tailwind
colors: {
  custom: {
    50: '#73a661',
    500: '#2f811e',
    950: '#000000',
  },
}
SCSS
$custom: #2f811e;
$custom-light: #73a661;
$custom-dark: #000000;
JSON
{
  "hex": "#2f811e",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 109.697,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53294,
    "c": 0.15454,
    "h": 140.6
  },
  "luminance": 0.16399
}

Semantic roles & 50–950 ramp

primary
#2F811E
secondary
#A147B4
accent
#42E5C9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2F811E

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

Preview Lab → · Contrast checker → · Palette generator →

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