#2F8A42#2F8A42

#2F8A42 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.137 H 147.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2F8A42
RGBrgb(47, 138, 66)
HSLhsl(133, 49%, 36%)
HSVhsv(133, 66%, 54%)
CMYKcmyk(65.9%, 0%, 52.2%, 45.9%)
CIE-LABlab(50.89, -42.87, 30.66)
CIE-LCHlch(50.89, 52.70, 144.43°)
OKLaboklab(56.22% -0.1157 0.0741)
OKLCHoklch(56.22% 0.137 147.4)
XYZxyz(11.2434, 19.1735, 8.2615)
Luminance0.1918 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A42 #8A2F77
analogous
#4A8A2F #2F8A42 #2F8A70
triadic
#2F8A42 #422F8A #8A422F
tetradic
#2F8A42 #2F4A8A #8A2F77 #8A702F
square
#2F8A42 #2F4A8A #8A2F77 #8A702F
split-complementary
#2F8A42 #702F8A #8A2F4A
monochromatic
#102F16 #1F5C2C #2F8A42 #3FB858 #68CC7D

Accessibility & contrast

On white

4.34
#2F8A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2F8A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A42
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A42#FFFFFF#000000##000000
##2F8A421.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3C
Deuteranopia (green-blind)
#807647
Tritanopia (blue-blind)
#138779
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f8a42;
/* rgb */ color: rgb(47, 138, 66);
/* oklch */ color: oklch(56.2% 0.137 147.4);
Tailwind
colors: {
  custom: {
    50: '#73ad78',
    500: '#2f8a42',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a42;
$custom-light: #73ad78;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a42",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 132.527,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56219,
    "c": 0.13741,
    "h": 147.4
  },
  "luminance": 0.19175
}

Semantic roles & 50–950 ramp

primary
#2F8A42
secondary
#B362A2
accent
#4FBCD9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #2F8A42

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

Preview Lab → · Contrast checker → · Palette generator →

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