#2F8A16#2F8A16

#2F8A16 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.169 H 140.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2F8A16
RGBrgb(47, 138, 22)
HSLhsl(107, 73%, 31%)
HSVhsv(107, 84%, 54%)
CMYKcmyk(65.9%, 0%, 84.1%, 45.9%)
CIE-LABlab(50.50, -47.44, 49.03)
CIE-LCHlch(50.50, 68.22, 134.06°)
OKLaboklab(55.77% -0.1302 0.1084)
OKLCHoklch(55.77% 0.169 140.2)
XYZxyz(10.4051, 18.8382, 3.8467)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8A16 #71168A
analogous
#698A16 #2F8A16 #168A37
triadic
#2F8A16 #162F8A #8A162F
tetradic
#2F8A16 #16698A #71168A #8A3716
square
#2F8A16 #16698A #71168A #8A3716
split-complementary
#2F8A16 #37168A #8A1669
monochromatic
#0B2005 #1D550E #2F8A16 #41BF1E #5EE03B

Accessibility & contrast

On white

4.40
#2F8A16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2F8A16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8A16
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8A16#FFFFFF#000000##000000
##2F8A161.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#837525
Tritanopia (blue-blind)
#208575
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f8a16;
/* rgb */ color: rgb(47, 138, 22);
/* oklch */ color: oklch(55.8% 0.169 140.2);
Tailwind
colors: {
  custom: {
    50: '#75ad5f',
    500: '#2f8a16',
    950: '#000000',
  },
}
SCSS
$custom: #2f8a16;
$custom-light: #75ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8a16",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 22
  },
  "hsl": {
    "h": 107.069,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55768,
    "c": 0.16936,
    "h": 140.2
  },
  "luminance": 0.18839
}

Semantic roles & 50–950 ramp

primary
#2F8A16
secondary
#A23EBE
accent
#39EFC8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2F8A16

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

Preview Lab → · Contrast checker → · Palette generator →

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