#2F851C#2F851C

#2F851C is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.161 H 140.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2F851C
RGBrgb(47, 133, 28)
HSLhsl(109, 65%, 32%)
HSVhsv(109, 79%, 52%)
CMYKcmyk(64.7%, 0%, 78.9%, 47.8%)
CIE-LABlab(48.84, -45.26, 45.56)
CIE-LCHlch(48.84, 64.22, 134.81°)
OKLaboklab(54.4% -0.124 0.102)
OKLCHoklch(54.4% 0.161 140.6)
XYZxyz(9.7689, 17.4623, 3.9541)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F851C #721C85
analogous
#64851C #2F851C #1C853E
triadic
#2F851C #1C2F85 #851C2F
tetradic
#2F851C #1C6485 #721C85 #853E1C
square
#2F851C #1C6485 #721C85 #853E1C
split-complementary
#2F851C #3E1C85 #851C64
monochromatic
#0B2007 #1D5211 #2F851C #41B827 #5FD844

Accessibility & contrast

On white

4.67
#2F851C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2F851C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F851C
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F851C#FFFFFF#000000##FFFFFF
##2F851C1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897803
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#228171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f851c;
/* rgb */ color: rgb(47, 133, 28);
/* oklch */ color: oklch(54.4% 0.161 140.6);
Tailwind
colors: {
  custom: {
    50: '#74a961',
    500: '#2f851c',
    950: '#000000',
  },
}
SCSS
$custom: #2f851c;
$custom-light: #74a961;
$custom-dark: #000000;
JSON
{
  "hex": "#2f851c",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 109.143,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54403,
    "c": 0.16055,
    "h": 140.6
  },
  "luminance": 0.17463
}

Semantic roles & 50–950 ramp

primary
#2F851C
secondary
#A345B8
accent
#40E8CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2F851C

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

Preview Lab → · Contrast checker → · Palette generator →

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