#2F8442#2F8442

#2F8442 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.6% C 0.129 H 147.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2F8442
RGBrgb(47, 132, 66)
HSLhsl(133, 47%, 35%)
HSVhsv(133, 64%, 52%)
CMYKcmyk(64.4%, 0%, 50%, 48.2%)
CIE-LABlab(48.88, -40.47, 28.16)
CIE-LCHlch(48.88, 49.31, 145.17°)
OKLaboklab(54.57% -0.1093 0.0685)
OKLCHoklch(54.57% 0.129 147.9)
XYZxyz(10.4062, 17.4992, 7.9825)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8442 #842F71
analogous
#46842F #2F8442 #2F846D
triadic
#2F8442 #422F84 #84422F
tetradic
#2F8442 #2F4684 #842F71 #846D2F
square
#2F8442 #2F4684 #842F71 #846D2F
split-complementary
#2F8442 #6D2F84 #842F46
monochromatic
#0F2A15 #1F572B #2F8442 #3FB159 #65C87B

Accessibility & contrast

On white

4.67
#2F8442 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#2F8442 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8442
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8442#FFFFFF#000000##FFFFFF
##2F84421.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85793D
Deuteranopia (green-blind)
#7B7147
Tritanopia (blue-blind)
#168174
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8442;
/* rgb */ color: rgb(47, 132, 66);
/* oklch */ color: oklch(54.6% 0.129 147.9);
Tailwind
colors: {
  custom: {
    50: '#71a877',
    500: '#2f8442',
    950: '#000000',
  },
}
SCSS
$custom: #2f8442;
$custom-light: #71a877;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8442",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 66
  },
  "hsl": {
    "h": 133.412,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54565,
    "c": 0.12898,
    "h": 147.9
  },
  "luminance": 0.175
}

Semantic roles & 50–950 ramp

primary
#2F8442
secondary
#AF609D
accent
#51B9D7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2F8442

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

Preview Lab → · Contrast checker → · Palette generator →

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