#2F841A#2F841A

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

Color values

HEX#2F841A
RGBrgb(47, 132, 26)
HSLhsl(108, 67%, 31%)
HSVhsv(108, 80%, 52%)
CMYKcmyk(64.4%, 0%, 80.3%, 48.2%)
CIE-LABlab(48.49, -45.03, 45.90)
CIE-LCHlch(48.49, 64.30, 134.45°)
OKLaboklab(54.11% -0.1235 0.1024)
OKLCHoklch(54.11% 0.16 140.3)
XYZxyz(9.6096, 17.1805, 3.7868)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F841A #6F1A84
analogous
#64841A #2F841A #1A843A
triadic
#2F841A #1A2F84 #841A2F
tetradic
#2F841A #1A6484 #6F1A84 #843A1A
square
#2F841A #1A6484 #6F1A84 #843A1A
split-complementary
#2F841A #3A1A84 #841A64
monochromatic
#0B1E06 #1D5110 #2F841A #41B724 #5ED93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F841A#FFFFFF#000000##FFFFFF
##2F841A1.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)
#887700
Deuteranopia (green-blind)
#7D7126
Tritanopia (blue-blind)
#228070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f841a;
/* rgb */ color: rgb(47, 132, 26);
/* oklch */ color: oklch(54.1% 0.160 140.3);
Tailwind
colors: {
  custom: {
    50: '#73a960',
    500: '#2f841a',
    950: '#000000',
  },
}
SCSS
$custom: #2f841a;
$custom-light: #73a960;
$custom-dark: #000000;
JSON
{
  "hex": "#2f841a",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 108.113,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5411,
    "c": 0.16043,
    "h": 140.3
  },
  "luminance": 0.17181
}

Semantic roles & 50–950 ramp

primary
#2F841A
secondary
#A042B8
accent
#3EEAC8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2F841A

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

Preview Lab → · Contrast checker → · Palette generator →

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