#2F8112#2F8112

#2F8112 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#2F8112
RGBrgb(47, 129, 18)
HSLhsl(104, 76%, 29%)
HSVhsv(104, 86%, 51%)
CMYKcmyk(63.6%, 0%, 86%, 49.4%)
CIE-LABlab(47.43, -44.39, 47.34)
CIE-LCHlch(47.43, 64.90, 133.16°)
OKLaboklab(53.22% -0.1222 0.1043)
OKLCHoklch(53.22% 0.161 139.5)
XYZxyz(9.1313, 16.3477, 3.2464)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8112 #641281
analogous
#678112 #2F8112 #12812D
triadic
#2F8112 #122F81 #81122F
tetradic
#2F8112 #126781 #641281 #812D12
square
#2F8112 #126781 #641281 #812D12
split-complementary
#2F8112 #2D1281 #811267
monochromatic
#0A1B04 #1B4B0B #2F8112 #43B719 #5BE22C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8112#FFFFFF#000000##FFFFFF
##2F81121.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)
#7B6E21
Tritanopia (blue-blind)
#247C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f8112;
/* rgb */ color: rgb(47, 129, 18);
/* oklch */ color: oklch(53.2% 0.161 139.5);
Tailwind
colors: {
  custom: {
    50: '#73a65c',
    500: '#2f8112',
    950: '#000000',
  },
}
SCSS
$custom: #2f8112;
$custom-light: #73a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8112",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 104.324,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5322,
    "c": 0.1606,
    "h": 139.5
  },
  "luminance": 0.16349
}

Semantic roles & 50–950 ramp

primary
#2F8112
secondary
#9638B7
accent
#36F2C1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2F8112

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

Preview Lab → · Contrast checker → · Palette generator →

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