#2F8D47#2F8D47

#2F8D47 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.137 H 148.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2F8D47
RGBrgb(47, 141, 71)
HSLhsl(135, 50%, 37%)
HSVhsv(135, 67%, 55%)
CMYKcmyk(66.7%, 0%, 49.6%, 44.7%)
CIE-LABlab(51.96, -43.26, 29.35)
CIE-LCHlch(51.96, 52.28, 145.84°)
OKLaboklab(57.12% -0.1167 0.0714)
OKLCHoklch(57.12% 0.137 148.5)
XYZxyz(11.8336, 20.1078, 9.2176)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8D47 #8D2F75
analogous
#468D2F #2F8D47 #2F8D76
triadic
#2F8D47 #472F8D #8D472F
tetradic
#2F8D47 #2F468D #8D2F75 #8D762F
square
#2F8D47 #2F468D #8D2F75 #8D762F
split-complementary
#2F8D47 #762F8D #8D2F46
monochromatic
#103119 #205F30 #2F8D47 #3EBB5E #69CD83

Accessibility & contrast

On white

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

On black

5.02
#2F8D47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8D47
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8D47#FFFFFF#000000##000000
##2F8D471.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8141
Deuteranopia (green-blind)
#83794C
Tritanopia (blue-blind)
#0D8A7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8d47;
/* rgb */ color: rgb(47, 141, 71);
/* oklch */ color: oklch(57.1% 0.137 148.5);
Tailwind
colors: {
  custom: {
    50: '#73af7b',
    500: '#2f8d47',
    950: '#000000',
  },
}
SCSS
$custom: #2f8d47;
$custom-light: #73af7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8d47",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 71
  },
  "hsl": {
    "h": 135.319,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57124,
    "c": 0.13681,
    "h": 148.5
  },
  "luminance": 0.20109
}

Semantic roles & 50–950 ramp

primary
#2F8D47
secondary
#B464A0
accent
#4EB6DA
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2F8D47

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

Preview Lab → · Contrast checker → · Palette generator →

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