#2F873F#2F873F

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

Color values

HEX#2F873F
RGBrgb(47, 135, 63)
HSLhsl(131, 48%, 36%)
HSVhsv(131, 65%, 53%)
CMYKcmyk(65.2%, 0%, 53.3%, 47.1%)
CIE-LABlab(49.85, -42.15, 30.94)
CIE-LCHlch(49.85, 52.29, 143.72°)
OKLaboklab(55.35% -0.1139 0.0746)
OKLCHoklch(55.35% 0.136 146.8)
XYZxyz(10.7327, 18.2901, 7.6664)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F873F #872F77
analogous
#4B872F #2F873F #2F876B
triadic
#2F873F #3F2F87 #873F2F
tetradic
#2F873F #2F4B87 #872F77 #876B2F
square
#2F873F #2F4B87 #872F77 #876B2F
split-complementary
#2F873F #6B2F87 #872F4B
monochromatic
#0F2C15 #1F5A2A #2F873F #3FB454 #66CA79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F873F#FFFFFF#000000##000000
##2F873F1.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)
#897B39
Deuteranopia (green-blind)
#7E7444
Tritanopia (blue-blind)
#168476
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f873f;
/* rgb */ color: rgb(47, 135, 63);
/* oklch */ color: oklch(55.3% 0.136 146.8);
Tailwind
colors: {
  custom: {
    50: '#72ab76',
    500: '#2f873f',
    950: '#000000',
  },
}
SCSS
$custom: #2f873f;
$custom-light: #72ab76;
$custom-dark: #000000;
JSON
{
  "hex": "#2f873f",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 63
  },
  "hsl": {
    "h": 130.909,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55345,
    "c": 0.13609,
    "h": 146.8
  },
  "luminance": 0.18291
}

Semantic roles & 50–950 ramp

primary
#2F873F
secondary
#B161A2
accent
#50BFD8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2F873F

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

Preview Lab → · Contrast checker → · Palette generator →

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