#2F881F#2F881F

#2F881F is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.162 H 141.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2F881F
RGBrgb(47, 136, 31)
HSLhsl(111, 63%, 33%)
HSVhsv(111, 77%, 53%)
CMYKcmyk(65.4%, 0%, 77.2%, 46.7%)
CIE-LABlab(49.87, -46.14, 45.51)
CIE-LCHlch(49.87, 64.80, 135.40°)
OKLaboklab(55.27% -0.1262 0.1023)
OKLCHoklch(55.27% 0.162 141)
XYZxyz(10.2233, 18.3106, 4.2916)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F881F #781F88
analogous
#63881F #2F881F #1F8843
triadic
#2F881F #1F2F88 #881F2F
tetradic
#2F881F #1F6388 #781F88 #88431F
square
#2F881F #1F6388 #781F88 #88431F
split-complementary
#2F881F #431F88 #881F63
monochromatic
#0D2408 #1E5614 #2F881F #40BA2A #60D64B

Accessibility & contrast

On white

4.50
#2F881F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2F881F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F881F
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F881F#FFFFFF#000000##000000
##2F881F1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B08
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#208474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f881f;
/* rgb */ color: rgb(47, 136, 31);
/* oklch */ color: oklch(55.3% 0.162 141.0);
Tailwind
colors: {
  custom: {
    50: '#74ac63',
    500: '#2f881f',
    950: '#000000',
  },
}
SCSS
$custom: #2f881f;
$custom-light: #74ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#2f881f",
  "rgb": {
    "r": 47,
    "g": 136,
    "b": 31
  },
  "hsl": {
    "h": 110.857,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55265,
    "c": 0.16247,
    "h": 141
  },
  "luminance": 0.18312
}

Semantic roles & 50–950 ramp

primary
#2F881F
secondary
#A84AB9
accent
#42E6CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2F881F

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

Preview Lab → · Contrast checker → · Palette generator →

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