#2F844F#2F844F

#2F844F is a mid, moderate green. Relative luminance 0.177; OKLCH L 54.8% C 0.116 H 152.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2F844F
RGBrgb(47, 132, 79)
HSLhsl(143, 47%, 35%)
HSVhsv(143, 64%, 52%)
CMYKcmyk(64.4%, 0%, 40.2%, 48.2%)
CIE-LABlab(49.09, -38.15, 21.29)
CIE-LCHlch(49.09, 43.69, 150.83°)
OKLaboklab(54.81% -0.1032 0.0531)
OKLCHoklch(54.81% 0.116 152.8)
XYZxyz(10.8340, 17.6703, 10.2354)
Luminance0.1767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F844F #842F64
analogous
#3A842F #2F844F #2F8479
triadic
#2F844F #4F2F84 #844F2F
tetradic
#2F844F #2F3A84 #842F64 #84792F
square
#2F844F #2F3A84 #842F64 #84792F
split-complementary
#2F844F #792F84 #842F3A
monochromatic
#0F2A19 #1F5734 #2F844F #3FB16A #65C88A

Accessibility & contrast

On white

4.63
#2F844F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2F844F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F844F
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F844F#FFFFFF#000000##FFFFFF
##2F844F1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84794B
Deuteranopia (green-blind)
#797252
Tritanopia (blue-blind)
#0D8277
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f844f;
/* rgb */ color: rgb(47, 132, 79);
/* oklch */ color: oklch(54.8% 0.116 152.8);
Tailwind
colors: {
  custom: {
    50: '#71a881',
    500: '#2f844f',
    950: '#000000',
  },
}
SCSS
$custom: #2f844f;
$custom-light: #71a881;
$custom-dark: #000000;
JSON
{
  "hex": "#2f844f",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 79
  },
  "hsl": {
    "h": 142.588,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54807,
    "c": 0.11603,
    "h": 152.8
  },
  "luminance": 0.17671
}

Semantic roles & 50–950 ramp

primary
#2F844F
secondary
#AF6091
accent
#51A5D7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #2F844F

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

Preview Lab → · Contrast checker → · Palette generator →

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