#2F862F#2F862F

#2F862F is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.149 H 143.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2F862F
RGBrgb(47, 134, 47)
HSLhsl(120, 48%, 35%)
HSVhsv(120, 65%, 53%)
CMYKcmyk(64.9%, 0%, 64.9%, 47.5%)
CIE-LABlab(49.32, -43.89, 38.26)
CIE-LCHlch(49.32, 58.22, 138.92°)
OKLaboklab(54.85% -0.1192 0.0891)
OKLCHoklch(54.85% 0.149 143.2)
XYZxyz(10.2099, 17.8588, 5.5978)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F862F #862F86
analogous
#5A862F #2F862F #2F865A
triadic
#2F862F #2F2F86 #862F2F
tetradic
#2F862F #2F5A86 #862F86 #865A2F
square
#2F862F #2F5A86 #862F86 #865A2F
split-complementary
#2F862F #5A2F86 #862F5A
monochromatic
#0F2B0F #1F591F #2F862F #3FB33F #66C966

Accessibility & contrast

On white

4.59
#2F862F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#2F862F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F862F
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F862F#FFFFFF#000000##FFFFFF
##2F862F1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#7E7236
Tritanopia (blue-blind)
#1D8274
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f862f;
/* rgb */ color: rgb(47, 134, 47);
/* oklch */ color: oklch(54.9% 0.149 143.2);
Tailwind
colors: {
  custom: {
    50: '#73aa6b',
    500: '#2f862f',
    950: '#000000',
  },
}
SCSS
$custom: #2f862f;
$custom-light: #73aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f862f",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54854,
    "c": 0.14884,
    "h": 143.2
  },
  "luminance": 0.1786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F862F

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

Preview Lab → · Contrast checker → · Palette generator →

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