#2F801C#2F801C

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

Color values

HEX#2F801C
RGBrgb(47, 128, 28)
HSLhsl(109, 64%, 31%)
HSVhsv(109, 78%, 50%)
CMYKcmyk(63.3%, 0%, 78.1%, 49.8%)
CIE-LABlab(47.14, -43.41, 43.90)
CIE-LCHlch(47.14, 61.74, 134.68°)
OKLaboklab(53% -0.119 0.0985)
OKLCHoklch(53% 0.154 140.4)
XYZxyz(9.1006, 16.1257, 3.7314)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F801C #6D1C80
analogous
#61801C #2F801C #1C803B
triadic
#2F801C #1C2F80 #801C2F
tetradic
#2F801C #1C6180 #6D1C80 #803B1C
square
#2F801C #1C6180 #6D1C80 #803B1C
split-complementary
#2F801C #3B1C80 #801C61
monochromatic
#0A1C06 #1D4E11 #2F801C #41B227 #5DD541

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F801C#FFFFFF#000000##FFFFFF
##2F801C1.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)
#847406
Deuteranopia (green-blind)
#7A6D27
Tritanopia (blue-blind)
#237C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f801c;
/* rgb */ color: rgb(47, 128, 28);
/* oklch */ color: oklch(53.0% 0.154 140.4);
Tailwind
colors: {
  custom: {
    50: '#72a660',
    500: '#2f801c',
    950: '#000000',
  },
}
SCSS
$custom: #2f801c;
$custom-light: #72a660;
$custom-dark: #000000;
JSON
{
  "hex": "#2f801c",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 108.6,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52998,
    "c": 0.15449,
    "h": 140.4
  },
  "luminance": 0.16127
}

Semantic roles & 50–950 ramp

primary
#2F801C
secondary
#9E44B3
accent
#41E7C7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F801C

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

Preview Lab → · Contrast checker → · Palette generator →

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