#2F8A3C#2F8A3C

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

Color values

HEX#2F8A3C
RGBrgb(47, 138, 60)
HSLhsl(129, 49%, 36%)
HSVhsv(129, 66%, 54%)
CMYKcmyk(65.9%, 0%, 56.5%, 45.9%)
CIE-LABlab(50.81, -43.76, 33.65)
CIE-LCHlch(50.81, 55.20, 142.44°)
OKLaboklab(56.13% -0.1183 0.0804)
OKLCHoklch(56.13% 0.143 145.8)
XYZxyz(11.0757, 19.1064, 7.3783)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A3C #8A2F7D
analogous
#508A2F #2F8A3C #2F8A6A
triadic
#2F8A3C #3C2F8A #8A3C2F
tetradic
#2F8A3C #2F508A #8A2F7D #8A6A2F
square
#2F8A3C #2F508A #8A2F7D #8A6A2F
split-complementary
#2F8A3C #6A2F8A #8A2F50
monochromatic
#102F14 #1F5C28 #2F8A3C #3FB850 #68CC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8A3C#FFFFFF#000000##000000
##2F8A3C1.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)
#8C7E35
Deuteranopia (green-blind)
#817642
Tritanopia (blue-blind)
#168779
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8a3c;
/* rgb */ color: rgb(47, 138, 60);
/* oklch */ color: oklch(56.1% 0.143 145.8);
Tailwind
colors: {
  custom: {
    50: '#73ad74',
    500: '#2f8a3c',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a3c;
$custom-light: #73ad74;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a3c",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 60
  },
  "hsl": {
    "h": 128.571,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56129,
    "c": 0.143,
    "h": 145.8
  },
  "luminance": 0.19108
}

Semantic roles & 50–950 ramp

primary
#2F8A3C
secondary
#B362A7
accent
#4FC5D9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2F8A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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