#2F8A3A#2F8A3A

#2F8A3A is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.145 H 145.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2F8A3A
RGBrgb(47, 138, 58)
HSLhsl(127, 49%, 36%)
HSVhsv(127, 66%, 54%)
CMYKcmyk(65.9%, 0%, 58%, 45.9%)
CIE-LABlab(50.79, -44.04, 34.63)
CIE-LCHlch(50.79, 56.02, 141.82°)
OKLaboklab(56.1% -0.1191 0.0823)
OKLCHoklch(56.1% 0.145 145.3)
XYZxyz(11.0238, 19.0857, 7.1051)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A3A #8A2F7F
analogous
#528A2F #2F8A3A #2F8A68
triadic
#2F8A3A #3A2F8A #8A3A2F
tetradic
#2F8A3A #2F528A #8A2F7F #8A682F
square
#2F8A3A #2F528A #8A2F7F #8A682F
split-complementary
#2F8A3A #682F8A #8A2F52
monochromatic
#102F14 #1F5C27 #2F8A3A #3FB84D #68CC74

Accessibility & contrast

On white

4.36
#2F8A3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2F8A3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A3A
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A3A#FFFFFF#000000##000000
##2F8A3A1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E32
Deuteranopia (green-blind)
#817640
Tritanopia (blue-blind)
#178778
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8a3a;
/* rgb */ color: rgb(47, 138, 58);
/* oklch */ color: oklch(56.1% 0.145 145.3);
Tailwind
colors: {
  custom: {
    50: '#73ad72',
    500: '#2f8a3a',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a3a;
$custom-light: #73ad72;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a3a",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 58
  },
  "hsl": {
    "h": 127.253,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56101,
    "c": 0.14479,
    "h": 145.3
  },
  "luminance": 0.19087
}

Semantic roles & 50–950 ramp

primary
#2F8A3A
secondary
#B362A9
accent
#4FC8D9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2F8A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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