#2F7A14#2F7A14

#2F7A14 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.151 H 139.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2F7A14
RGBrgb(47, 122, 20)
HSLhsl(104, 72%, 28%)
HSVhsv(104, 84%, 48%)
CMYKcmyk(61.5%, 0%, 83.6%, 52.2%)
CIE-LABlab(45.04, -41.67, 44.58)
CIE-LCHlch(45.04, 61.02, 133.07°)
OKLaboklab(51.25% -0.1148 0.0988)
OKLCHoklch(51.25% 0.151 139.3)
XYZxyz(8.2577, 14.5732, 3.0394)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7A14 #5F147A
analogous
#627A14 #2F7A14 #147A2C
triadic
#2F7A14 #142F7A #7A142F
tetradic
#2F7A14 #14627A #5F147A #7A2C14
square
#2F7A14 #14627A #5F147A #7A2C14
split-complementary
#2F7A14 #2C147A #7A1462
monochromatic
#0A1A04 #1B450B #2F7A14 #43AF1D #5BDC2C

Accessibility & contrast

On white

5.36
#2F7A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2F7A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7A14
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7A14#FFFFFF#000000##FFFFFF
##2F7A141.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#756820
Tritanopia (blue-blind)
#267667
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f7a14;
/* rgb */ color: rgb(47, 122, 20);
/* oklch */ color: oklch(51.3% 0.151 139.3);
Tailwind
colors: {
  custom: {
    50: '#72a15c',
    500: '#2f7a14',
    950: '#000000',
  },
}
SCSS
$custom: #2f7a14;
$custom-light: #72a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7a14",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 104.118,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51251,
    "c": 0.1514,
    "h": 139.3
  },
  "luminance": 0.14574
}

Semantic roles & 50–950 ramp

primary
#2F7A14
secondary
#913AB0
accent
#39EFBF
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2F7A14

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

Preview Lab → · Contrast checker → · Palette generator →

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