#2F8D4A#2F8D4A

#2F8D4A is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.2% C 0.134 H 149.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2F8D4A
RGBrgb(47, 141, 74)
HSLhsl(137, 50%, 37%)
HSVhsv(137, 67%, 55%)
CMYKcmyk(66.7%, 0%, 47.5%, 44.7%)
CIE-LABlab(52.00, -42.76, 27.81)
CIE-LCHlch(52.00, 51.01, 146.96°)
OKLaboklab(57.18% -0.1153 0.0681)
OKLCHoklch(57.18% 0.134 149.5)
XYZxyz(11.9323, 20.1473, 9.7372)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D4A #8D2F72
analogous
#438D2F #2F8D4A #2F8D79
triadic
#2F8D4A #4A2F8D #8D4A2F
tetradic
#2F8D4A #2F438D #8D2F72 #8D792F
square
#2F8D4A #2F438D #8D2F72 #8D792F
split-complementary
#2F8D4A #792F8D #8D2F43
monochromatic
#10311A #205F32 #2F8D4A #3EBB62 #69CD86

Accessibility & contrast

On white

4.18
#2F8D4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#2F8D4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D4A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D4A#FFFFFF#000000##000000
##2F8D4A1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8145
Deuteranopia (green-blind)
#82794F
Tritanopia (blue-blind)
#0A8A7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8d4a;
/* rgb */ color: rgb(47, 141, 74);
/* oklch */ color: oklch(57.2% 0.134 149.5);
Tailwind
colors: {
  custom: {
    50: '#73af7d',
    500: '#2f8d4a',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d4a;
$custom-light: #73af7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d4a",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 74
  },
  "hsl": {
    "h": 137.234,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57175,
    "c": 0.13392,
    "h": 149.5
  },
  "luminance": 0.20149
}

Semantic roles & 50–950 ramp

primary
#2F8D4A
secondary
#B4649D
accent
#4EB2DA
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F8D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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