#2F7E14#2F7E14

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

Color values

HEX#2F7E14
RGBrgb(47, 126, 20)
HSLhsl(105, 73%, 29%)
HSVhsv(105, 84%, 49%)
CMYKcmyk(62.7%, 0%, 84.1%, 50.6%)
CIE-LABlab(46.41, -43.18, 45.85)
CIE-LCHlch(46.41, 62.98, 133.28°)
OKLaboklab(52.38% -0.1188 0.1014)
OKLCHoklch(52.38% 0.156 139.5)
XYZxyz(8.7590, 15.5757, 3.2065)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E14 #63147E
analogous
#647E14 #2F7E14 #147E2E
triadic
#2F7E14 #142F7E #7E142F
tetradic
#2F7E14 #14647E #63147E #7E2E14
square
#2F7E14 #14647E #63147E #7E2E14
split-complementary
#2F7E14 #2E147E #7E1464
monochromatic
#0A1A04 #1B490C #2F7E14 #43B31C #5BDE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7E14#FFFFFF#000000##FFFFFF
##2F7E141.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)
#786C21
Tritanopia (blue-blind)
#257A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7e14;
/* rgb */ color: rgb(47, 126, 20);
/* oklch */ color: oklch(52.4% 0.156 139.5);
Tailwind
colors: {
  custom: {
    50: '#72a45c',
    500: '#2f7e14',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e14;
$custom-light: #72a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e14",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 104.717,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52384,
    "c": 0.1562,
    "h": 139.5
  },
  "luminance": 0.15577
}

Semantic roles & 50–950 ramp

primary
#2F7E14
secondary
#953AB3
accent
#38EFC1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2F7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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