#2F7313#2F7313

#2F7313 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.143 H 138.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2F7313
RGBrgb(47, 115, 19)
HSLhsl(103, 72%, 26%)
HSVhsv(103, 83%, 45%)
CMYKcmyk(59.1%, 0%, 83.5%, 54.9%)
CIE-LABlab(42.63, -39.02, 42.64)
CIE-LCHlch(42.63, 57.80, 132.46°)
OKLaboklab(49.26% -0.1077 0.0946)
OKLCHoklch(49.26% 0.143 138.7)
XYZxyz(7.4203, 12.9122, 2.7172)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7313 #571373
analogous
#5F7313 #2F7313 #137327
triadic
#2F7313 #132F73 #73132F
tetradic
#2F7313 #135F73 #571373 #732713
square
#2F7313 #135F73 #571373 #732713
split-complementary
#2F7313 #271373 #73135F
monochromatic
#0B1A04 #1A3E0A #2F7313 #44A81C #5ADB25

Accessibility & contrast

On white

5.86
#2F7313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2F7313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7313
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7313#FFFFFF#000000##FFFFFF
##2F73131.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E631E
Tritanopia (blue-blind)
#286F61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f7313;
/* rgb */ color: rgb(47, 115, 19);
/* oklch */ color: oklch(49.3% 0.143 138.7);
Tailwind
colors: {
  custom: {
    50: '#709c5a',
    500: '#2f7313',
    950: '#000000',
  },
}
SCSS
$custom: #2f7313;
$custom-light: #709c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7313",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 102.5,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49256,
    "c": 0.14332,
    "h": 138.7
  },
  "luminance": 0.12913
}

Semantic roles & 50–950 ramp

primary
#2F7313
secondary
#8838AA
accent
#39EEBA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7313

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

Preview Lab → · Contrast checker → · Palette generator →

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