#2F821D#2F821D

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

Color values

HEX#2F821D
RGBrgb(47, 130, 29)
HSLhsl(109, 64%, 31%)
HSVhsv(109, 78%, 51%)
CMYKcmyk(63.8%, 0%, 77.7%, 49%)
CIE-LABlab(47.83, -44.08, 44.21)
CIE-LCHlch(47.83, 62.43, 134.92°)
OKLaboklab(53.57% -0.1207 0.0993)
OKLCHoklch(53.57% 0.156 140.6)
XYZxyz(9.3762, 16.6574, 3.8832)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F821D #701D82
analogous
#61821D #2F821D #1D823D
triadic
#2F821D #1D2F82 #821D2F
tetradic
#2F821D #1D6182 #701D82 #823D1D
square
#2F821D #1D6182 #701D82 #823D1D
split-complementary
#2F821D #3D1D82 #821D61
monochromatic
#0B1E07 #1D5012 #2F821D #41B428 #5ED544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F821D#FFFFFF#000000##FFFFFF
##2F821D1.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)
#867607
Deuteranopia (green-blind)
#7B6F28
Tritanopia (blue-blind)
#227E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f821d;
/* rgb */ color: rgb(47, 130, 29);
/* oklch */ color: oklch(53.6% 0.156 140.6);
Tailwind
colors: {
  custom: {
    50: '#73a761',
    500: '#2f821d',
    950: '#000000',
  },
}
SCSS
$custom: #2f821d;
$custom-light: #73a761;
$custom-dark: #000000;
JSON
{
  "hex": "#2f821d",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 109.307,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53568,
    "c": 0.15636,
    "h": 140.6
  },
  "luminance": 0.16658
}

Semantic roles & 50–950 ramp

primary
#2F821D
secondary
#A146B5
accent
#41E7C9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F821D

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

Preview Lab → · Contrast checker → · Palette generator →

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