#2F822A#2F822A

#2F822A is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.148 H 142.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2F822A
RGBrgb(47, 130, 42)
HSLhsl(117, 51%, 34%)
HSVhsv(117, 68%, 51%)
CMYKcmyk(63.8%, 0%, 67.7%, 49%)
CIE-LABlab(47.93, -42.91, 39.00)
CIE-LCHlch(47.93, 57.99, 137.73°)
OKLaboklab(53.68% -0.1168 0.0901)
OKLCHoklch(53.68% 0.148 142.3)
XYZxyz(9.5723, 16.7359, 4.9159)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F822A #7D2A82
analogous
#5B822A #2F822A #2A8251
triadic
#2F822A #2A2F82 #822A2F
tetradic
#2F822A #2A5B82 #7D2A82 #82512A
square
#2F822A #2A5B82 #7D2A82 #82512A
split-complementary
#2F822A #512A82 #822A5B
monochromatic
#0E250C #1E541B #2F822A #40B039 #62CA5C

Accessibility & contrast

On white

4.83
#2F822A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2F822A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F822A
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F822A#FFFFFF#000000##FFFFFF
##2F822A1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761F
Deuteranopia (green-blind)
#7B6F32
Tritanopia (blue-blind)
#207E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f822a;
/* rgb */ color: rgb(47, 130, 42);
/* oklch */ color: oklch(53.7% 0.148 142.3);
Tailwind
colors: {
  custom: {
    50: '#72a768',
    500: '#2f822a',
    950: '#000000',
  },
}
SCSS
$custom: #2f822a;
$custom-light: #72a768;
$custom-dark: #000000;
JSON
{
  "hex": "#2f822a",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 42
  },
  "hsl": {
    "h": 116.591,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53683,
    "c": 0.14757,
    "h": 142.3
  },
  "luminance": 0.16737
}

Semantic roles & 50–950 ramp

primary
#2F822A
secondary
#AB58B0
accent
#4DDBD3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #2F822A

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

Preview Lab → · Contrast checker → · Palette generator →

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