#2F8F16#2F8F16

#2F8F16 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.175 H 140.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2F8F16
RGBrgb(47, 143, 22)
HSLhsl(108, 73%, 32%)
HSVhsv(108, 85%, 56%)
CMYKcmyk(67.1%, 0%, 84.6%, 43.9%)
CIE-LABlab(52.18, -49.20, 50.57)
CIE-LCHlch(52.18, 70.55, 134.22°)
OKLaboklab(57.16% -0.1349 0.1116)
OKLCHoklch(57.16% 0.175 140.4)
XYZxyz(11.1390, 20.3061, 4.0913)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8F16 #76168F
analogous
#6C8F16 #2F8F16 #168F39
triadic
#2F8F16 #162F8F #8F162F
tetradic
#2F8F16 #166C8F #76168F #8F3916
square
#2F8F16 #166C8F #76168F #8F3916
split-complementary
#2F8F16 #39168F #8F166C
monochromatic
#0C2506 #1E5A0E #2F8F16 #40C41E #60E13E

Accessibility & contrast

On white

4.15
#2F8F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2F8F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8F16
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8F16#FFFFFF#000000##000000
##2F8F161.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#1E8A79
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8f16;
/* rgb */ color: rgb(47, 143, 22);
/* oklch */ color: oklch(57.2% 0.175 140.4);
Tailwind
colors: {
  custom: {
    50: '#76b160',
    500: '#2f8f16',
    950: '#000000',
  },
}
SCSS
$custom: #2f8f16;
$custom-light: #76b160;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8f16",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 22
  },
  "hsl": {
    "h": 107.603,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57164,
    "c": 0.17506,
    "h": 140.4
  },
  "luminance": 0.20307
}

Semantic roles & 50–950 ramp

primary
#2F8F16
secondary
#A73FC1
accent
#38F0CA
background
#F7FBF5
surface
#EEF6EA
border
#C9D0C6
text
#0A1105
muted
#7C8079

Preview Lab

Preview with #2F8F16

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

Preview Lab → · Contrast checker → · Palette generator →

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