#2F7416#2F7416

#2F7416 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.143 H 139.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2F7416
RGBrgb(47, 116, 22)
HSLhsl(104, 68%, 27%)
HSVhsv(104, 81%, 45%)
CMYKcmyk(59.5%, 0%, 81%, 54.5%)
CIE-LABlab(42.99, -39.23, 41.99)
CIE-LCHlch(42.99, 57.46, 133.05°)
OKLaboklab(49.56% -0.1081 0.0936)
OKLCHoklch(49.56% 0.143 139.1)
XYZxyz(7.5622, 13.1524, 2.8991)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7416 #5B1674
analogous
#5E7416 #2F7416 #16742C
triadic
#2F7416 #162F74 #74162F
tetradic
#2F7416 #165E74 #5B1674 #742C16
square
#2F7416 #165E74 #5B1674 #742C16
split-complementary
#2F7416 #2C1674 #74165E
monochromatic
#0A1A05 #1A410C #2F7416 #44A720 #5AD72D

Accessibility & contrast

On white

5.78
#2F7416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2F7416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7416
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7416#FFFFFF#000000##FFFFFF
##2F74161.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6F6321
Tritanopia (blue-blind)
#287062
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f7416;
/* rgb */ color: rgb(47, 116, 22);
/* oklch */ color: oklch(49.6% 0.143 139.1);
Tailwind
colors: {
  custom: {
    50: '#709d5b',
    500: '#2f7416',
    950: '#000000',
  },
}
SCSS
$custom: #2f7416;
$custom-light: #709d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7416",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 104.043,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49559,
    "c": 0.143,
    "h": 139.1
  },
  "luminance": 0.13153
}

Semantic roles & 50–950 ramp

primary
#2F7416
secondary
#8D3CAA
accent
#3DEBBD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7416

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

Preview Lab → · Contrast checker → · Palette generator →

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