#2F821E#2F821E

#2F821E is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.156 H 140.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2F821E
RGBrgb(47, 130, 30)
HSLhsl(110, 63%, 31%)
HSVhsv(110, 77%, 51%)
CMYKcmyk(63.8%, 0%, 76.9%, 49%)
CIE-LABlab(47.83, -44.00, 43.85)
CIE-LCHlch(47.83, 62.12, 135.10°)
OKLaboklab(53.58% -0.1205 0.0987)
OKLCHoklch(53.58% 0.156 140.7)
XYZxyz(9.3888, 16.6624, 3.9494)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F821E #711E82
analogous
#61821E #2F821E #1E823F
triadic
#2F821E #1E2F82 #821E2F
tetradic
#2F821E #1E6182 #711E82 #823F1E
square
#2F821E #1E6182 #711E82 #823F1E
split-complementary
#2F821E #3F1E82 #821E61
monochromatic
#0B1F07 #1D5013 #2F821E #41B429 #5ED446

Accessibility & contrast

On white

4.85
#2F821E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2F821E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F821E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F821E#FFFFFF#000000##FFFFFF
##2F821E1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867609
Deuteranopia (green-blind)
#7B6F29
Tritanopia (blue-blind)
#227E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f821e;
/* rgb */ color: rgb(47, 130, 30);
/* oklch */ color: oklch(53.6% 0.156 140.7);
Tailwind
colors: {
  custom: {
    50: '#73a761',
    500: '#2f821e',
    950: '#000000',
  },
}
SCSS
$custom: #2f821e;
$custom-light: #73a761;
$custom-dark: #000000;
JSON
{
  "hex": "#2f821e",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 109.8,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53575,
    "c": 0.15577,
    "h": 140.7
  },
  "luminance": 0.16663
}

Semantic roles & 50–950 ramp

primary
#2F821E
secondary
#A247B5
accent
#42E6CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2F821E

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

Preview Lab → · Contrast checker → · Palette generator →

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