#2F8E11#2F8E11

#2F8E11 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.176 H 140.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2F8E11
RGBrgb(47, 142, 17)
HSLhsl(106, 79%, 31%)
HSVhsv(106, 88%, 56%)
CMYKcmyk(66.9%, 0%, 88%, 44.3%)
CIE-LABlab(51.83, -49.09, 51.51)
CIE-LCHlch(51.83, 71.16, 133.62°)
OKLaboklab(56.86% -0.1348 0.1129)
OKLCHoklch(56.86% 0.176 140.1)
XYZxyz(10.9459, 19.9897, 3.8118)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8E11 #70118E
analogous
#6D8E11 #2F8E11 #118E31
triadic
#2F8E11 #112F8E #8E112F
tetradic
#2F8E11 #116D8E #70118E #8E3111
square
#2F8E11 #116D8E #70118E #8E3111
split-complementary
#2F8E11 #31118E #8E116D
monochromatic
#0B2104 #1D570A #2F8E11 #41C518 #5EE733

Accessibility & contrast

On white

4.20
#2F8E11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2F8E11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8E11
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8E11#FFFFFF#000000##000000
##2F8E111.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#877923
Tritanopia (blue-blind)
#1F8978
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8e11;
/* rgb */ color: rgb(47, 142, 17);
/* oklch */ color: oklch(56.9% 0.176 140.1);
Tailwind
colors: {
  custom: {
    50: '#76b05e',
    500: '#2f8e11',
    950: '#000000',
  },
}
SCSS
$custom: #2f8e11;
$custom-light: #76b05e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8e11",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 17
  },
  "hsl": {
    "h": 105.6,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56863,
    "c": 0.17583,
    "h": 140.1
  },
  "luminance": 0.19991
}

Semantic roles & 50–950 ramp

primary
#2F8E11
secondary
#A138C2
accent
#33F5C6
background
#F7FAF5
surface
#EEF5EA
border
#C9CFC6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #2F8E11

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

Preview Lab → · Contrast checker → · Palette generator →

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