#2F851E#2F851E

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

Color values

HEX#2F851E
RGBrgb(47, 133, 30)
HSLhsl(110, 63%, 32%)
HSVhsv(110, 77%, 52%)
CMYKcmyk(64.7%, 0%, 77.4%, 47.8%)
CIE-LABlab(48.85, -45.12, 44.86)
CIE-LCHlch(48.85, 63.62, 135.16°)
OKLaboklab(54.42% -0.1235 0.1008)
OKLCHoklch(54.42% 0.159 140.8)
XYZxyz(9.7937, 17.4722, 4.0844)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F851E #741E85
analogous
#63851E #2F851E #1E8541
triadic
#2F851E #1E2F85 #851E2F
tetradic
#2F851E #1E6385 #741E85 #85411E
square
#2F851E #1E6385 #741E85 #85411E
split-complementary
#2F851E #411E85 #851E63
monochromatic
#0C2107 #1D5313 #2F851E #41B729 #5FD648

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F851E#FFFFFF#000000##FFFFFF
##2F851E1.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)
#897807
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#218171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f851e;
/* rgb */ color: rgb(47, 133, 30);
/* oklch */ color: oklch(54.4% 0.159 140.8);
Tailwind
colors: {
  custom: {
    50: '#73a962',
    500: '#2f851e',
    950: '#000000',
  },
}
SCSS
$custom: #2f851e;
$custom-light: #73a962;
$custom-dark: #000000;
JSON
{
  "hex": "#2f851e",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 110.097,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54418,
    "c": 0.15943,
    "h": 140.8
  },
  "luminance": 0.17473
}

Semantic roles & 50–950 ramp

primary
#2F851E
secondary
#A547B8
accent
#42E6CB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #2F851E

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

Preview Lab → · Contrast checker → · Palette generator →

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