#2F821C#2F821C

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

Color values

HEX#2F821C
RGBrgb(47, 130, 28)
HSLhsl(109, 65%, 31%)
HSVhsv(109, 78%, 51%)
CMYKcmyk(63.8%, 0%, 78.5%, 49%)
CIE-LABlab(47.82, -44.15, 44.56)
CIE-LCHlch(47.82, 62.73, 134.73°)
OKLaboklab(53.56% -0.121 0.0999)
OKLCHoklch(53.56% 0.157 140.5)
XYZxyz(9.3641, 16.6526, 3.8192)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F821C #6F1C82
analogous
#62821C #2F821C #1C823C
triadic
#2F821C #1C2F82 #821C2F
tetradic
#2F821C #1C6282 #6F1C82 #823C1C
square
#2F821C #1C6282 #6F1C82 #823C1C
split-complementary
#2F821C #3C1C82 #821C62
monochromatic
#0B1D06 #1D5011 #2F821C #41B427 #5ED642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F821C#FFFFFF#000000##FFFFFF
##2F821C1.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)
#867604
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#237E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f821c;
/* rgb */ color: rgb(47, 130, 28);
/* oklch */ color: oklch(53.6% 0.157 140.5);
Tailwind
colors: {
  custom: {
    50: '#73a760',
    500: '#2f821c',
    950: '#000000',
  },
}
SCSS
$custom: #2f821c;
$custom-light: #73a760;
$custom-dark: #000000;
JSON
{
  "hex": "#2f821c",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 108.824,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53561,
    "c": 0.15692,
    "h": 140.5
  },
  "luminance": 0.16653
}

Semantic roles & 50–950 ramp

primary
#2F821C
secondary
#A044B5
accent
#40E8C8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F821C

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

Preview Lab → · Contrast checker → · Palette generator →

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