#2F8E42#2F8E42

#2F8E42 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.143 H 147.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2F8E42
RGBrgb(47, 142, 66)
HSLhsl(132, 50%, 37%)
HSVhsv(132, 67%, 56%)
CMYKcmyk(66.9%, 0%, 53.5%, 44.3%)
CIE-LABlab(52.22, -44.43, 32.29)
CIE-LCHlch(52.22, 54.93, 143.99°)
OKLaboklab(57.32% -0.1199 0.0778)
OKLCHoklch(57.32% 0.143 147)
XYZxyz(11.8278, 20.3425, 8.4564)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E42 #8E2F7B
analogous
#4C8E2F #2F8E42 #2F8E72
triadic
#2F8E42 #422F8E #8E422F
tetradic
#2F8E42 #2F4C8E #8E2F7B #8E722F
square
#2F8E42 #2F4C8E #8E2F7B #8E722F
split-complementary
#2F8E42 #722F8E #8E2F4C
monochromatic
#113217 #20602D #2F8E42 #3EBC57 #6ACE7E

Accessibility & contrast

On white

4.14
#2F8E42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2F8E42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E42
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E42#FFFFFF#000000##000000
##2F8E421.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90813B
Deuteranopia (green-blind)
#847948
Tritanopia (blue-blind)
#108B7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f8e42;
/* rgb */ color: rgb(47, 142, 66);
/* oklch */ color: oklch(57.3% 0.143 147.0);
Tailwind
colors: {
  custom: {
    50: '#74b078',
    500: '#2f8e42',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e42;
$custom-light: #74b078;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e42",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 66
  },
  "hsl": {
    "h": 132,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57318,
    "c": 0.14293,
    "h": 147
  },
  "luminance": 0.20344
}

Semantic roles & 50–950 ramp

primary
#2F8E42
secondary
#B564A5
accent
#4EBEDA
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2F8E42

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

Preview Lab → · Contrast checker → · Palette generator →

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