#2F7013#2F7013

#2F7013 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.140 H 138.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2F7013
RGBrgb(47, 112, 19)
HSLhsl(102, 71%, 26%)
HSVhsv(102, 83%, 44%)
CMYKcmyk(58%, 0%, 83%, 56.1%)
CIE-LABlab(41.59, -37.83, 41.67)
CIE-LCHlch(41.59, 56.28, 132.24°)
OKLaboklab(48.4% -0.1045 0.0925)
OKLCHoklch(48.4% 0.14 138.5)
XYZxyz(7.0837, 12.2391, 2.6051)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7013 #541370
analogous
#5D7013 #2F7013 #137025
triadic
#2F7013 #132F70 #70132F
tetradic
#2F7013 #135D70 #541370 #702513
square
#2F7013 #135D70 #541370 #702513
split-complementary
#2F7013 #251370 #70135D
monochromatic
#0B1A04 #193C0A #2F7013 #45A41C #5BD925

Accessibility & contrast

On white

6.09
#2F7013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2F7013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7013
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7013#FFFFFF#000000##FFFFFF
##2F70131.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#6B601E
Tritanopia (blue-blind)
#296C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f7013;
/* rgb */ color: rgb(47, 112, 19);
/* oklch */ color: oklch(48.4% 0.140 138.5);
Tailwind
colors: {
  custom: {
    50: '#709a5a',
    500: '#2f7013',
    950: '#000000',
  },
}
SCSS
$custom: #2f7013;
$custom-light: #709a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7013",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 19
  },
  "hsl": {
    "h": 101.935,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48399,
    "c": 0.13957,
    "h": 138.5
  },
  "luminance": 0.1224
}

Semantic roles & 50–950 ramp

primary
#2F7013
secondary
#8538A7
accent
#3AEEB8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7013

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

Preview Lab → · Contrast checker → · Palette generator →

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