#2F882F#2F882F

#2F882F is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.151 H 143.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2F882F
RGBrgb(47, 136, 47)
HSLhsl(120, 49%, 36%)
HSVhsv(120, 65%, 53%)
CMYKcmyk(65.4%, 0%, 65.4%, 46.7%)
CIE-LABlab(50.00, -44.65, 39.01)
CIE-LCHlch(50.00, 59.29, 138.85°)
OKLaboklab(55.41% -0.1212 0.0907)
OKLCHoklch(55.41% 0.151 143.2)
XYZxyz(10.4889, 18.4169, 5.6908)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F882F #882F88
analogous
#5B882F #2F882F #2F885B
triadic
#2F882F #2F2F88 #882F2F
tetradic
#2F882F #2F5B88 #882F88 #885B2F
square
#2F882F #2F5B88 #882F88 #885B2F
split-complementary
#2F882F #5B2F88 #882F5B
monochromatic
#102D10 #1F5B1F #2F882F #3FB53F #67CA67

Accessibility & contrast

On white

4.48
#2F882F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2F882F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F882F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F882F#FFFFFF#000000##000000
##2F882F1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B24
Deuteranopia (green-blind)
#807437
Tritanopia (blue-blind)
#1C8475
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f882f;
/* rgb */ color: rgb(47, 136, 47);
/* oklch */ color: oklch(55.4% 0.151 143.2);
Tailwind
colors: {
  custom: {
    50: '#73ac6b',
    500: '#2f882f',
    950: '#000000',
  },
}
SCSS
$custom: #2f882f;
$custom-light: #73ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f882f",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55411,
    "c": 0.15144,
    "h": 143.2
  },
  "luminance": 0.18418
}

Semantic roles & 50–950 ramp

primary
#2F882F
secondary
#B161B1
accent
#50D8D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F882F

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

Preview Lab → · Contrast checker → · Palette generator →

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