#2F891C#2F891C

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

Color values

HEX#2F891C
RGBrgb(47, 137, 28)
HSLhsl(110, 66%, 32%)
HSVhsv(110, 80%, 54%)
CMYKcmyk(65.7%, 0%, 79.6%, 46.3%)
CIE-LABlab(50.19, -46.72, 46.87)
CIE-LCHlch(50.19, 66.17, 134.91°)
OKLaboklab(55.52% -0.1279 0.1047)
OKLCHoklch(55.52% 0.165 140.7)
XYZxyz(10.3270, 18.5785, 4.1402)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F891C #761C89
analogous
#66891C #2F891C #1C893F
triadic
#2F891C #1C2F89 #891C2F
tetradic
#2F891C #1C6689 #761C89 #893F1C
square
#2F891C #1C6689 #761C89 #893F1C
split-complementary
#2F891C #3F1C89 #891C66
monochromatic
#0C2307 #1E5612 #2F891C #40BC26 #60D946

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F891C#FFFFFF#000000##000000
##2F891C1.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: #2f891c;
/* rgb */ color: rgb(47, 137, 28);
/* oklch */ color: oklch(55.5% 0.165 140.7);
Tailwind
colors: {
  custom: {
    50: '#74ac61',
    500: '#2f891c',
    950: '#000000',
  },
}
SCSS
$custom: #2f891c;
$custom-light: #74ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#2f891c",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 109.541,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55524,
    "c": 0.16532,
    "h": 140.7
  },
  "luminance": 0.18579
}

Semantic roles & 50–950 ramp

primary
#2F891C
secondary
#A746BB
accent
#3FE9CB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2F891C

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

Preview Lab → · Contrast checker → · Palette generator →

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