#2F841E#2F841E

#2F841E is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.158 H 140.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2F841E
RGBrgb(47, 132, 30)
HSLhsl(110, 63%, 32%)
HSVhsv(110, 77%, 52%)
CMYKcmyk(64.4%, 0%, 77.3%, 48.2%)
CIE-LABlab(48.51, -44.75, 44.52)
CIE-LCHlch(48.51, 63.12, 135.14°)
OKLaboklab(54.14% -0.1225 0.1001)
OKLCHoklch(54.14% 0.158 140.7)
XYZxyz(9.6574, 17.1997, 4.0390)
Luminance0.1720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F841E #731E84
analogous
#62841E #2F841E #1E8440
triadic
#2F841E #1E2F84 #841E2F
tetradic
#2F841E #1E6284 #731E84 #84401E
square
#2F841E #1E6284 #731E84 #84401E
split-complementary
#2F841E #401E84 #841E62
monochromatic
#0B2007 #1D5213 #2F841E #41B629 #5FD547

Accessibility & contrast

On white

4.73
#2F841E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2F841E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F841E
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F841E#FFFFFF#000000##FFFFFF
##2F841E1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887708
Deuteranopia (green-blind)
#7D7129
Tritanopia (blue-blind)
#228071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f841e;
/* rgb */ color: rgb(47, 132, 30);
/* oklch */ color: oklch(54.1% 0.158 140.7);
Tailwind
colors: {
  custom: {
    50: '#73a962',
    500: '#2f841e',
    950: '#000000',
  },
}
SCSS
$custom: #2f841e;
$custom-light: #73a962;
$custom-dark: #000000;
JSON
{
  "hex": "#2f841e",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 110,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54137,
    "c": 0.15821,
    "h": 140.7
  },
  "luminance": 0.17201
}

Semantic roles & 50–950 ramp

primary
#2F841E
secondary
#A447B7
accent
#42E6CB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2F841E

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

Preview Lab → · Contrast checker → · Palette generator →

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