#2F862E#2F862E

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

Color values

HEX#2F862E
RGBrgb(47, 134, 46)
HSLhsl(119, 49%, 35%)
HSVhsv(119, 66%, 53%)
CMYKcmyk(64.9%, 0%, 65.7%, 47.5%)
CIE-LABlab(49.31, -44.00, 38.71)
CIE-LCHlch(49.31, 58.61, 138.66°)
OKLaboklab(54.84% -0.1196 0.09)
OKLCHoklch(54.84% 0.15 143)
XYZxyz(10.1899, 17.8508, 5.4928)
Luminance0.1785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F862E #852E86
analogous
#5B862E #2F862E #2E8659
triadic
#2F862E #2E2F86 #862E2F
tetradic
#2F862E #2E5B86 #852E86 #86592E
square
#2F862E #2E5B86 #852E86 #86592E
split-complementary
#2F862E #592E86 #862E5B
monochromatic
#0F2B0F #1F581E #2F862E #3FB43E #66CA64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F862E#FFFFFF#000000##FFFFFF
##2F862E1.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)
#897A23
Deuteranopia (green-blind)
#7E7236
Tritanopia (blue-blind)
#1D8274
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f862e;
/* rgb */ color: rgb(47, 134, 46);
/* oklch */ color: oklch(54.8% 0.150 143.0);
Tailwind
colors: {
  custom: {
    50: '#73aa6b',
    500: '#2f862e',
    950: '#000000',
  },
}
SCSS
$custom: #2f862e;
$custom-light: #73aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f862e",
  "rgb": {
    "r": 47,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 119.318,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54843,
    "c": 0.14964,
    "h": 143
  },
  "luminance": 0.17852
}

Semantic roles & 50–950 ramp

primary
#2F862E
secondary
#B05FB1
accent
#4FD8D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F862E

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

Preview Lab → · Contrast checker → · Palette generator →

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