#2F801F#2F801F

#2F801F is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.153 H 140.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2F801F
RGBrgb(47, 128, 31)
HSLhsl(110, 61%, 31%)
HSVhsv(110, 76%, 50%)
CMYKcmyk(63.3%, 0%, 75.8%, 49.8%)
CIE-LABlab(47.16, -43.18, 42.80)
CIE-LCHlch(47.16, 60.79, 135.25°)
OKLaboklab(53.02% -0.1182 0.0967)
OKLCHoklch(53.02% 0.153 140.7)
XYZxyz(9.1383, 16.1408, 3.9300)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F801F #701F80
analogous
#5F801F #2F801F #1F803F
triadic
#2F801F #1F2F80 #801F2F
tetradic
#2F801F #1F5F80 #701F80 #803F1F
square
#2F801F #1F5F80 #701F80 #803F1F
split-complementary
#2F801F #3F1F80 #801F5F
monochromatic
#0B1D07 #1D4F13 #2F801F #41B12B #5ED247

Accessibility & contrast

On white

4.97
#2F801F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2F801F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F801F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F801F#FFFFFF#000000##FFFFFF
##2F801F1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740D
Deuteranopia (green-blind)
#7A6D29
Tritanopia (blue-blind)
#237C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f801f;
/* rgb */ color: rgb(47, 128, 31);
/* oklch */ color: oklch(53.0% 0.153 140.7);
Tailwind
colors: {
  custom: {
    50: '#72a662',
    500: '#2f801f',
    950: '#000000',
  },
}
SCSS
$custom: #2f801f;
$custom-light: #72a662;
$custom-dark: #000000;
JSON
{
  "hex": "#2f801f",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 31
  },
  "hsl": {
    "h": 110.103,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53021,
    "c": 0.1527,
    "h": 140.7
  },
  "luminance": 0.16142
}

Semantic roles & 50–950 ramp

primary
#2F801F
secondary
#A148B3
accent
#44E4CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #2F801F

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

Preview Lab → · Contrast checker → · Palette generator →

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