#2F7F14#2F7F14

#2F7F14 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.157 H 139.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2F7F14
RGBrgb(47, 127, 20)
HSLhsl(105, 73%, 29%)
HSVhsv(105, 84%, 50%)
CMYKcmyk(63%, 0%, 84.3%, 50.2%)
CIE-LABlab(46.75, -43.55, 46.16)
CIE-LCHlch(46.75, 63.46, 133.33°)
OKLaboklab(52.67% -0.1198 0.1021)
OKLCHoklch(52.67% 0.157 139.6)
XYZxyz(8.8875, 15.8328, 3.2494)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7F14 #64147F
analogous
#657F14 #2F7F14 #147F2F
triadic
#2F7F14 #142F7F #7F142F
tetradic
#2F7F14 #14657F #64147F #7F2F14
square
#2F7F14 #14657F #64147F #7F2F14
split-complementary
#2F7F14 #2F147F #7F1465
monochromatic
#0A1A04 #1B4A0C #2F7F14 #43B41C #5BDE2F

Accessibility & contrast

On white

5.04
#2F7F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2F7F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7F14
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7F14#FFFFFF#000000##FFFFFF
##2F7F141.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#257B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7f14;
/* rgb */ color: rgb(47, 127, 20);
/* oklch */ color: oklch(52.7% 0.157 139.6);
Tailwind
colors: {
  custom: {
    50: '#73a55c',
    500: '#2f7f14',
    950: '#000000',
  },
}
SCSS
$custom: #2f7f14;
$custom-light: #73a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7f14",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 104.86,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52666,
    "c": 0.15739,
    "h": 139.6
  },
  "luminance": 0.15834
}

Semantic roles & 50–950 ramp

primary
#2F7F14
secondary
#963BB4
accent
#38EFC1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2F7F14

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

Preview Lab → · Contrast checker → · Palette generator →

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