#2F7E13#2F7E13

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

Color values

HEX#2F7E13
RGBrgb(47, 126, 19)
HSLhsl(104, 74%, 28%)
HSVhsv(104, 85%, 49%)
CMYKcmyk(62.7%, 0%, 84.9%, 50.6%)
CIE-LABlab(46.41, -43.23, 46.13)
CIE-LCHlch(46.41, 63.23, 133.14°)
OKLaboklab(52.38% -0.119 0.1019)
OKLCHoklch(52.38% 0.157 139.4)
XYZxyz(8.7503, 15.5723, 3.1606)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E13 #62137E
analogous
#647E13 #2F7E13 #137E2C
triadic
#2F7E13 #132F7E #7E132F
tetradic
#2F7E13 #13647E #62137E #7E2C13
square
#2F7E13 #13647E #62137E #7E2C13
split-complementary
#2F7E13 #2C137E #7E1364
monochromatic
#0A1B04 #1B490B #2F7E13 #43B31B #5BDF2C

Accessibility & contrast

On white

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

On black

4.11
#2F7E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F7E13#FFFFFF#000000##FFFFFF
##2F7E131.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.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: #2f7e13;
/* rgb */ color: rgb(47, 126, 19);
/* oklch */ color: oklch(52.4% 0.157 139.4);
Tailwind
colors: {
  custom: {
    50: '#73a45c',
    500: '#2f7e13',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e13;
$custom-light: #73a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e13",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 104.299,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52378,
    "c": 0.15665,
    "h": 139.4
  },
  "luminance": 0.15573
}

Semantic roles & 50–950 ramp

primary
#2F7E13
secondary
#9439B4
accent
#37F0C0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #2F7E13

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

Preview Lab → · Contrast checker → · Palette generator →

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