#2F842E#2F842E

#2F842E is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.3% C 0.147 H 143.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2F842E
RGBrgb(47, 132, 46)
HSLhsl(119, 48%, 35%)
HSVhsv(119, 65%, 52%)
CMYKcmyk(64.4%, 0%, 65.2%, 48.2%)
CIE-LABlab(48.64, -43.24, 37.96)
CIE-LCHlch(48.64, 57.54, 138.72°)
OKLaboklab(54.29% -0.1175 0.0884)
OKLCHoklch(54.29% 0.147 143)
XYZxyz(9.9161, 17.3032, 5.4015)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F842E #832E84
analogous
#5A842E #2F842E #2E8458
triadic
#2F842E #2E2F84 #842E2F
tetradic
#2F842E #2E5A84 #832E84 #84582E
square
#2F842E #2E5A84 #832E84 #84582E
split-complementary
#2F842E #582E84 #842E5A
monochromatic
#0F290E #1F571E #2F842E #3FB13E #65C964

Accessibility & contrast

On white

4.71
#2F842E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2F842E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F842E
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F842E#FFFFFF#000000##FFFFFF
##2F842E1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877824
Deuteranopia (green-blind)
#7C7135
Tritanopia (blue-blind)
#1E8072
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f842e;
/* rgb */ color: rgb(47, 132, 46);
/* oklch */ color: oklch(54.3% 0.147 143.0);
Tailwind
colors: {
  custom: {
    50: '#72a96a',
    500: '#2f842e',
    950: '#000000',
  },
}
SCSS
$custom: #2f842e;
$custom-light: #72a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f842e",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 119.302,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54285,
    "c": 0.14703,
    "h": 143
  },
  "luminance": 0.17304
}

Semantic roles & 50–950 ramp

primary
#2F842E
secondary
#AF5EB0
accent
#50D8D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #2F842E

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

Preview Lab → · Contrast checker → · Palette generator →

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