#2F851D#2F851D

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

Color values

HEX#2F851D
RGBrgb(47, 133, 29)
HSLhsl(110, 64%, 32%)
HSVhsv(110, 78%, 52%)
CMYKcmyk(64.7%, 0%, 78.2%, 47.8%)
CIE-LABlab(48.84, -45.19, 45.21)
CIE-LCHlch(48.84, 63.92, 134.99°)
OKLaboklab(54.41% -0.1237 0.1014)
OKLCHoklch(54.41% 0.16 140.7)
XYZxyz(9.7811, 17.4672, 4.0182)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F851D #731D85
analogous
#63851D #2F851D #1D853F
triadic
#2F851D #1D2F85 #851D2F
tetradic
#2F851D #1D6385 #731D85 #853F1D
square
#2F851D #1D6385 #731D85 #853F1D
split-complementary
#2F851D #3F1D85 #851D63
monochromatic
#0B2107 #1D5312 #2F851D #41B728 #5FD746

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F851D#FFFFFF#000000##FFFFFF
##2F851D1.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)
#897805
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#218171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f851d;
/* rgb */ color: rgb(47, 133, 29);
/* oklch */ color: oklch(54.4% 0.160 140.7);
Tailwind
colors: {
  custom: {
    50: '#73a961',
    500: '#2f851d',
    950: '#000000',
  },
}
SCSS
$custom: #2f851d;
$custom-light: #73a961;
$custom-dark: #000000;
JSON
{
  "hex": "#2f851d",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 29
  },
  "hsl": {
    "h": 109.615,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5441,
    "c": 0.15999,
    "h": 140.7
  },
  "luminance": 0.17468
}

Semantic roles & 50–950 ramp

primary
#2F851D
secondary
#A446B8
accent
#41E7CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2F851D

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

Preview Lab → · Contrast checker → · Palette generator →

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