#2F8116#2F8116

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

Color values

HEX#2F8116
RGBrgb(47, 129, 22)
HSLhsl(106, 71%, 30%)
HSVhsv(106, 83%, 51%)
CMYKcmyk(63.6%, 0%, 82.9%, 49.4%)
CIE-LABlab(47.45, -44.18, 46.20)
CIE-LCHlch(47.45, 63.92, 133.72°)
OKLaboklab(53.24% -0.1214 0.1025)
OKLCHoklch(53.24% 0.159 139.8)
XYZxyz(9.1670, 16.3619, 3.4340)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8116 #681681
analogous
#658116 #2F8116 #168132
triadic
#2F8116 #162F81 #81162F
tetradic
#2F8116 #166581 #681681 #813216
square
#2F8116 #166581 #681681 #813216
split-complementary
#2F8116 #321681 #811665
monochromatic
#0A1A04 #1C4D0D #2F8116 #42B51F #5CDD35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8116#FFFFFF#000000##FFFFFF
##2F81161.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)
#7B6E23
Tritanopia (blue-blind)
#247C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f8116;
/* rgb */ color: rgb(47, 129, 22);
/* oklch */ color: oklch(53.2% 0.159 139.8);
Tailwind
colors: {
  custom: {
    50: '#73a65d',
    500: '#2f8116',
    950: '#000000',
  },
}
SCSS
$custom: #2f8116;
$custom-light: #73a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8116",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 105.981,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53241,
    "c": 0.15884,
    "h": 139.8
  },
  "luminance": 0.16363
}

Semantic roles & 50–950 ramp

primary
#2F8116
secondary
#993DB6
accent
#3AEEC4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F8116

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

Preview Lab → · Contrast checker → · Palette generator →

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