#2F8D4C#2F8D4C

#2F8D4C is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.132 H 150.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2F8D4C
RGBrgb(47, 141, 76)
HSLhsl(139, 50%, 37%)
HSVhsv(139, 67%, 55%)
CMYKcmyk(66.7%, 0%, 46.1%, 44.7%)
CIE-LABlab(52.03, -42.41, 26.77)
CIE-LCHlch(52.03, 50.16, 147.74°)
OKLaboklab(57.21% -0.1144 0.0658)
OKLCHoklch(57.21% 0.132 150.1)
XYZxyz(12.0007, 20.1746, 10.0977)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D4C #8D2F70
analogous
#418D2F #2F8D4C #2F8D7B
triadic
#2F8D4C #4C2F8D #8D4C2F
tetradic
#2F8D4C #2F418D #8D2F70 #8D7B2F
square
#2F8D4C #2F418D #8D2F70 #8D7B2F
split-complementary
#2F8D4C #7B2F8D #8D2F41
monochromatic
#10311B #205F33 #2F8D4C #3EBB65 #69CD88

Accessibility & contrast

On white

4.17
#2F8D4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#2F8D4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D4C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D4C#FFFFFF#000000##000000
##2F8D4C1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8147
Deuteranopia (green-blind)
#827950
Tritanopia (blue-blind)
#088B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8d4c;
/* rgb */ color: rgb(47, 141, 76);
/* oklch */ color: oklch(57.2% 0.132 150.1);
Tailwind
colors: {
  custom: {
    50: '#73af7f',
    500: '#2f8d4c',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d4c;
$custom-light: #73af7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d4c",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 76
  },
  "hsl": {
    "h": 138.511,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5721,
    "c": 0.13197,
    "h": 150.1
  },
  "luminance": 0.20176
}

Semantic roles & 50–950 ramp

primary
#2F8D4C
secondary
#B4649B
accent
#4EAFDA
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F8D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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