#2F891A#2F891A

#2F891A is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.5% C 0.166 H 140.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2F891A
RGBrgb(47, 137, 26)
HSLhsl(109, 68%, 32%)
HSVhsv(109, 81%, 54%)
CMYKcmyk(65.7%, 0%, 81%, 46.3%)
CIE-LABlab(50.18, -46.85, 47.52)
CIE-LCHlch(50.18, 66.72, 134.59°)
OKLaboklab(55.51% -0.1284 0.1058)
OKLCHoklch(55.51% 0.166 140.5)
XYZxyz(10.3039, 18.5692, 4.0183)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F891A #741A89
analogous
#66891A #2F891A #1A893D
triadic
#2F891A #1A2F89 #891A2F
tetradic
#2F891A #1A6689 #741A89 #893D1A
square
#2F891A #1A6689 #741A89 #893D1A
split-complementary
#2F891A #3D1A89 #891A66
monochromatic
#0C2206 #1D5610 #2F891A #41BC24 #5FDB42

Accessibility & contrast

On white

4.45
#2F891A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2F891A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F891A
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F891A#FFFFFF#000000##000000
##2F891A1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#827527
Tritanopia (blue-blind)
#208474
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f891a;
/* rgb */ color: rgb(47, 137, 26);
/* oklch */ color: oklch(55.5% 0.166 140.5);
Tailwind
colors: {
  custom: {
    50: '#74ac60',
    500: '#2f891a',
    950: '#000000',
  },
}
SCSS
$custom: #2f891a;
$custom-light: #74ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f891a",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 108.649,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55511,
    "c": 0.16634,
    "h": 140.5
  },
  "luminance": 0.1857
}

Semantic roles & 50–950 ramp

primary
#2F891A
secondary
#A543BC
accent
#3DEBCA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2F891A

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

Preview Lab → · Contrast checker → · Palette generator →

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