#2F8945#2F8945

#2F8945 is a mid, vivid green. Relative luminance 0.189; OKLCH L 56.0% C 0.133 H 148.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2F8945
RGBrgb(47, 137, 69)
HSLhsl(135, 49%, 36%)
HSVhsv(135, 66%, 54%)
CMYKcmyk(65.7%, 0%, 49.6%, 46.3%)
CIE-LABlab(50.60, -42.00, 28.71)
CIE-LCHlch(50.60, 50.87, 145.64°)
OKLaboklab(55.99% -0.1133 0.0699)
OKLCHoklch(55.99% 0.133 148.3)
XYZxyz(11.1913, 18.9242, 8.6920)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8945 #892F73
analogous
#46892F #2F8945 #2F8972
triadic
#2F8945 #452F89 #89452F
tetradic
#2F8945 #2F4689 #892F73 #89722F
square
#2F8945 #2F4689 #892F73 #89722F
split-complementary
#2F8945 #722F89 #892F46
monochromatic
#102E17 #1F5B2E #2F8945 #3FB75C #67CB80

Accessibility & contrast

On white

4.39
#2F8945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2F8945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8945
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8945#FFFFFF#000000##000000
##2F89451.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D3F
Deuteranopia (green-blind)
#7F754A
Tritanopia (blue-blind)
#128679
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8945;
/* rgb */ color: rgb(47, 137, 69);
/* oklch */ color: oklch(56.0% 0.133 148.3);
Tailwind
colors: {
  custom: {
    50: '#72ac7a',
    500: '#2f8945',
    950: '#000000',
  },
}
SCSS
$custom: #2f8945;
$custom-light: #72ac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8945",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 69
  },
  "hsl": {
    "h": 134.667,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.55993,
    "c": 0.13315,
    "h": 148.3
  },
  "luminance": 0.18925
}

Semantic roles & 50–950 ramp

primary
#2F8945
secondary
#B2629E
accent
#4FB7D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2F8945

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

Preview Lab → · Contrast checker → · Palette generator →

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