#2F8345#2F8345

#2F8345 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.3% C 0.125 H 149.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2F8345
RGBrgb(47, 131, 69)
HSLhsl(136, 47%, 35%)
HSVhsv(136, 64%, 51%)
CMYKcmyk(64.1%, 0%, 47.3%, 48.6%)
CIE-LABlab(48.59, -39.56, 26.17)
CIE-LCHlch(48.59, 47.44, 146.51°)
OKLaboklab(54.34% -0.1068 0.0641)
OKLCHoklch(54.34% 0.125 149)
XYZxyz(10.3620, 17.2656, 8.4156)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8345 #832F6D
analogous
#43832F #2F8345 #2F836F
triadic
#2F8345 #452F83 #83452F
tetradic
#2F8345 #2F4383 #832F6D #836F2F
square
#2F8345 #2F4383 #832F6D #836F2F
split-complementary
#2F8345 #6F2F83 #832F43
monochromatic
#0F2916 #1F562D #2F8345 #3FB05D #65C87F

Accessibility & contrast

On white

4.72
#2F8345 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2F8345 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8345
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8345#FFFFFF#000000##FFFFFF
##2F83451.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847840
Deuteranopia (green-blind)
#797049
Tritanopia (blue-blind)
#158174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8345;
/* rgb */ color: rgb(47, 131, 69);
/* oklch */ color: oklch(54.3% 0.125 149.0);
Tailwind
colors: {
  custom: {
    50: '#71a87a',
    500: '#2f8345',
    950: '#000000',
  },
}
SCSS
$custom: #2f8345;
$custom-light: #71a87a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8345",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 69
  },
  "hsl": {
    "h": 135.714,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54341,
    "c": 0.12459,
    "h": 149
  },
  "luminance": 0.17267
}

Semantic roles & 50–950 ramp

primary
#2F8345
secondary
#AF5F9A
accent
#51B4D7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2F8345

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

Preview Lab → · Contrast checker → · Palette generator →

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