#2F822D#2F822D

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

Color values

HEX#2F822D
RGBrgb(47, 130, 45)
HSLhsl(119, 49%, 34%)
HSVhsv(119, 65%, 51%)
CMYKcmyk(63.8%, 0%, 65.4%, 49%)
CIE-LABlab(47.95, -42.58, 37.66)
CIE-LCHlch(47.95, 56.85, 138.51°)
OKLaboklab(53.72% -0.1158 0.0876)
OKLCHoklch(53.72% 0.145 142.9)
XYZxyz(9.6280, 16.7581, 5.2094)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F822D #802D82
analogous
#5A822D #2F822D #2D8256
triadic
#2F822D #2D2F82 #822D2F
tetradic
#2F822D #2D5A82 #802D82 #82562D
square
#2F822D #2D5A82 #802D82 #82562D
split-complementary
#2F822D #562D82 #822D5A
monochromatic
#0E270E #1F551D #2F822D #3FAF3D #64C861

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F822D#FFFFFF#000000##FFFFFF
##2F822D1.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)
#857623
Deuteranopia (green-blind)
#7B6F34
Tritanopia (blue-blind)
#1F7E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f822d;
/* rgb */ color: rgb(47, 130, 45);
/* oklch */ color: oklch(53.7% 0.145 142.9);
Tailwind
colors: {
  custom: {
    50: '#72a76a',
    500: '#2f822d',
    950: '#000000',
  },
}
SCSS
$custom: #2f822d;
$custom-light: #72a76a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f822d",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 45
  },
  "hsl": {
    "h": 118.588,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53715,
    "c": 0.14521,
    "h": 142.9
  },
  "luminance": 0.16759
}

Semantic roles & 50–950 ramp

primary
#2F822D
secondary
#AD5CAF
accent
#50D8D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #2F822D

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

Preview Lab → · Contrast checker → · Palette generator →

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