#2F7E16#2F7E16

#2F7E16 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.155 H 139.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2F7E16
RGBrgb(47, 126, 22)
HSLhsl(106, 70%, 29%)
HSVhsv(106, 83%, 49%)
CMYKcmyk(62.7%, 0%, 82.5%, 50.6%)
CIE-LABlab(46.42, -43.06, 45.24)
CIE-LCHlch(46.42, 62.46, 133.58°)
OKLaboklab(52.4% -0.1184 0.1004)
OKLCHoklch(52.4% 0.155 139.7)
XYZxyz(8.7776, 15.5832, 3.3042)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E16 #65167E
analogous
#637E16 #2F7E16 #167E31
triadic
#2F7E16 #162F7E #7E162F
tetradic
#2F7E16 #16637E #65167E #7E3116
square
#2F7E16 #16637E #65167E #7E3116
split-complementary
#2F7E16 #31167E #7E1663
monochromatic
#0A1A05 #1C4A0D #2F7E16 #42B21F #5BDB33

Accessibility & contrast

On white

5.10
#2F7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#2F7E16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E16
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E16#FFFFFF#000000##FFFFFF
##2F7E161.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786C22
Tritanopia (blue-blind)
#257A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7e16;
/* rgb */ color: rgb(47, 126, 22);
/* oklch */ color: oklch(52.4% 0.155 139.7);
Tailwind
colors: {
  custom: {
    50: '#72a45d',
    500: '#2f7e16',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e16;
$custom-light: #72a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e16",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 105.577,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52395,
    "c": 0.15526,
    "h": 139.7
  },
  "luminance": 0.15584
}

Semantic roles & 50–950 ramp

primary
#2F7E16
secondary
#973DB3
accent
#3BEDC2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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