#2F891B#2F891B

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

Color values

HEX#2F891B
RGBrgb(47, 137, 27)
HSLhsl(109, 67%, 32%)
HSVhsv(109, 80%, 54%)
CMYKcmyk(65.7%, 0%, 80.3%, 46.3%)
CIE-LABlab(50.18, -46.78, 47.20)
CIE-LCHlch(50.18, 66.45, 134.75°)
OKLaboklab(55.52% -0.1281 0.1053)
OKLCHoklch(55.52% 0.166 140.6)
XYZxyz(10.3153, 18.5738, 4.0782)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F891B #751B89
analogous
#66891B #2F891B #1B893E
triadic
#2F891B #1B2F89 #891B2F
tetradic
#2F891B #1B6689 #751B89 #893E1B
square
#2F891B #1B6689 #751B89 #893E1B
split-complementary
#2F891B #3E1B89 #891B66
monochromatic
#0C2307 #1D5611 #2F891B #41BC25 #5FDA44

Accessibility & contrast

On white

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

On black

4.72
#2F891B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F891B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F891B#FFFFFF#000000##000000
##2F891B1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f891b;
/* rgb */ color: rgb(47, 137, 27);
/* oklch */ color: oklch(55.5% 0.166 140.6);
Tailwind
colors: {
  custom: {
    50: '#74ac61',
    500: '#2f891b',
    950: '#000000',
  },
}
SCSS
$custom: #2f891b;
$custom-light: #74ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#2f891b",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 27
  },
  "hsl": {
    "h": 109.091,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55517,
    "c": 0.16584,
    "h": 140.6
  },
  "luminance": 0.18575
}

Semantic roles & 50–950 ramp

primary
#2F891B
secondary
#A644BC
accent
#3EEACB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2F891B

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

Preview Lab → · Contrast checker → · Palette generator →

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