#2F8745#2F8745

#2F8745 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.130 H 148.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2F8745
RGBrgb(47, 135, 69)
HSLhsl(135, 48%, 36%)
HSVhsv(135, 65%, 53%)
CMYKcmyk(65.2%, 0%, 48.9%, 47.1%)
CIE-LABlab(49.93, -41.19, 27.87)
CIE-LCHlch(49.93, 49.73, 145.92°)
OKLaboklab(55.44% -0.1112 0.068)
OKLCHoklch(55.44% 0.13 148.6)
XYZxyz(10.9096, 18.3609, 8.5981)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8745 #872F71
analogous
#45872F #2F8745 #2F8771
triadic
#2F8745 #452F87 #87452F
tetradic
#2F8745 #2F4587 #872F71 #87712F
square
#2F8745 #2F4587 #872F71 #87712F
split-complementary
#2F8745 #712F87 #872F45
monochromatic
#0F2C17 #1F5A2E #2F8745 #3FB45C #66CA7F

Accessibility & contrast

On white

4.49
#2F8745 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#2F8745 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8745
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8745#FFFFFF#000000##000000
##2F87451.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B40
Deuteranopia (green-blind)
#7D744A
Tritanopia (blue-blind)
#138477
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f8745;
/* rgb */ color: rgb(47, 135, 69);
/* oklch */ color: oklch(55.4% 0.130 148.6);
Tailwind
colors: {
  custom: {
    50: '#72ab7a',
    500: '#2f8745',
    950: '#000000',
  },
}
SCSS
$custom: #2f8745;
$custom-light: #72ab7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8745",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 69
  },
  "hsl": {
    "h": 135,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55442,
    "c": 0.13032,
    "h": 148.6
  },
  "luminance": 0.18362
}

Semantic roles & 50–950 ramp

primary
#2F8745
secondary
#B1619D
accent
#50B6D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2F8745

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

Preview Lab → · Contrast checker → · Palette generator →

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