#2F8111#2F8111

#2F8111 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.161 H 139.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2F8111
RGBrgb(47, 129, 17)
HSLhsl(104, 77%, 29%)
HSVhsv(104, 87%, 51%)
CMYKcmyk(63.6%, 0%, 86.8%, 49.4%)
CIE-LABlab(47.42, -44.44, 47.60)
CIE-LCHlch(47.42, 65.13, 133.03°)
OKLaboklab(53.22% -0.1223 0.1047)
OKLCHoklch(53.22% 0.161 139.5)
XYZxyz(9.1233, 16.3445, 3.2042)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8111 #631181
analogous
#678111 #2F8111 #11812B
triadic
#2F8111 #112F81 #81112F
tetradic
#2F8111 #116781 #631181 #812B11
square
#2F8111 #116781 #631181 #812B11
split-complementary
#2F8111 #2B1181 #811167
monochromatic
#0A1B04 #1B4B0A #2F8111 #43B718 #5BE32A

Accessibility & contrast

On white

4.92
#2F8111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2F8111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8111
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8111#FFFFFF#000000##FFFFFF
##2F81111.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#247C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f8111;
/* rgb */ color: rgb(47, 129, 17);
/* oklch */ color: oklch(53.2% 0.161 139.5);
Tailwind
colors: {
  custom: {
    50: '#73a65c',
    500: '#2f8111',
    950: '#000000',
  },
}
SCSS
$custom: #2f8111;
$custom-light: #73a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8111",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 17
  },
  "hsl": {
    "h": 103.929,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53215,
    "c": 0.16101,
    "h": 139.5
  },
  "luminance": 0.16345
}

Semantic roles & 50–950 ramp

primary
#2F8111
secondary
#9537B7
accent
#35F3C0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2F8111

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

Preview Lab → · Contrast checker → · Palette generator →

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