#2F8D4E#2F8D4E

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

Color values

HEX#2F8D4E
RGBrgb(47, 141, 78)
HSLhsl(140, 50%, 37%)
HSVhsv(140, 67%, 55%)
CMYKcmyk(66.7%, 0%, 44.7%, 44.7%)
CIE-LABlab(52.07, -42.06, 25.73)
CIE-LCHlch(52.07, 49.30, 148.54°)
OKLaboklab(57.25% -0.1135 0.0634)
OKLCHoklch(57.25% 0.13 150.8)
XYZxyz(12.0714, 20.2029, 10.4696)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D4E #8D2F6E
analogous
#3F8D2F #2F8D4E #2F8D7D
triadic
#2F8D4E #4E2F8D #8D4E2F
tetradic
#2F8D4E #2F3F8D #8D2F6E #8D7D2F
square
#2F8D4E #2F3F8D #8D2F6E #8D7D2F
split-complementary
#2F8D4E #7D2F8D #8D2F3F
monochromatic
#10311B #205F35 #2F8D4E #3EBB67 #69CD8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8D4E#FFFFFF#000000##000000
##2F8D4E1.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)
#8E8149
Deuteranopia (green-blind)
#827952
Tritanopia (blue-blind)
#058B7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8d4e;
/* rgb */ color: rgb(47, 141, 78);
/* oklch */ color: oklch(57.2% 0.130 150.8);
Tailwind
colors: {
  custom: {
    50: '#73af80',
    500: '#2f8d4e',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d4e;
$custom-light: #73af80;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d4e",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 78
  },
  "hsl": {
    "h": 139.787,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57247,
    "c": 0.13001,
    "h": 150.8
  },
  "luminance": 0.20204
}

Semantic roles & 50–950 ramp

primary
#2F8D4E
secondary
#B4649A
accent
#4EACDA
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #2F8D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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