#2F873E#2F873E

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

Color values

HEX#2F873E
RGBrgb(47, 135, 62)
HSLhsl(130, 48%, 36%)
HSVhsv(130, 65%, 53%)
CMYKcmyk(65.2%, 0%, 54.1%, 47.1%)
CIE-LABlab(49.83, -42.30, 31.45)
CIE-LCHlch(49.83, 52.71, 143.37°)
OKLaboklab(55.33% -0.1143 0.0756)
OKLCHoklch(55.33% 0.137 146.5)
XYZxyz(10.7050, 18.2790, 7.5205)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F873E #872F78
analogous
#4C872F #2F873E #2F876A
triadic
#2F873E #3E2F87 #873E2F
tetradic
#2F873E #2F4C87 #872F78 #876A2F
square
#2F873E #2F4C87 #872F78 #876A2F
split-complementary
#2F873E #6A2F87 #872F4C
monochromatic
#0F2C14 #1F5A29 #2F873E #3FB453 #66CA77

Accessibility & contrast

On white

4.51
#2F873E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F873E#FFFFFF#000000##000000
##2F873E1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B38
Deuteranopia (green-blind)
#7E7443
Tritanopia (blue-blind)
#178476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f873e;
/* rgb */ color: rgb(47, 135, 62);
/* oklch */ color: oklch(55.3% 0.137 146.5);
Tailwind
colors: {
  custom: {
    50: '#72ab75',
    500: '#2f873e',
    950: '#000000',
  },
}
SCSS
$custom: #2f873e;
$custom-light: #72ab75;
$custom-dark: #000000;
JSON
{
  "hex": "#2f873e",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 62
  },
  "hsl": {
    "h": 130.227,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5533,
    "c": 0.13704,
    "h": 146.5
  },
  "luminance": 0.1828
}

Semantic roles & 50–950 ramp

primary
#2F873E
secondary
#B161A3
accent
#50C1D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2F873E

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

Preview Lab → · Contrast checker → · Palette generator →

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