#2F7314#2F7314

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

Color values

HEX#2F7314
RGBrgb(47, 115, 20)
HSLhsl(103, 70%, 26%)
HSVhsv(103, 83%, 45%)
CMYKcmyk(59.1%, 0%, 82.6%, 54.9%)
CIE-LABlab(42.64, -38.96, 42.32)
CIE-LCHlch(42.64, 57.53, 132.63°)
OKLaboklab(49.26% -0.1075 0.094)
OKLCHoklch(49.26% 0.143 138.8)
XYZxyz(7.4290, 12.9157, 2.7632)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7314 #581473
analogous
#5F7314 #2F7314 #147329
triadic
#2F7314 #142F73 #73142F
tetradic
#2F7314 #145F73 #581473 #732914
square
#2F7314 #145F73 #581473 #732914
split-complementary
#2F7314 #291473 #73145F
monochromatic
#0B1A05 #1A3F0B #2F7314 #44A71D #5ADA28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7314#FFFFFF#000000##FFFFFF
##2F73141.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)
#6E631F
Tritanopia (blue-blind)
#286F61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f7314;
/* rgb */ color: rgb(47, 115, 20);
/* oklch */ color: oklch(49.3% 0.143 138.8);
Tailwind
colors: {
  custom: {
    50: '#709c5a',
    500: '#2f7314',
    950: '#000000',
  },
}
SCSS
$custom: #2f7314;
$custom-light: #709c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7314",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 102.947,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49262,
    "c": 0.14281,
    "h": 138.8
  },
  "luminance": 0.12916
}

Semantic roles & 50–950 ramp

primary
#2F7314
secondary
#8A3AA9
accent
#3BEDBA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7314

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

Preview Lab → · Contrast checker → · Palette generator →

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