#2F7114#2F7114

#2F7114 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.140 H 138.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2F7114
RGBrgb(47, 113, 20)
HSLhsl(103, 70%, 26%)
HSVhsv(103, 82%, 44%)
CMYKcmyk(58.4%, 0%, 82.3%, 55.7%)
CIE-LABlab(41.95, -38.17, 41.67)
CIE-LCHlch(41.95, 56.51, 132.49°)
OKLaboklab(48.69% -0.1054 0.0927)
OKLCHoklch(48.69% 0.14 138.7)
XYZxyz(7.2034, 12.4645, 2.6880)
Luminance0.1246 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7114 #561471
analogous
#5D7114 #2F7114 #147127
triadic
#2F7114 #142F71 #71142F
tetradic
#2F7114 #145D71 #561471 #712714
square
#2F7114 #145D71 #561471 #712714
split-complementary
#2F7114 #271471 #71145D
monochromatic
#0B1A05 #193D0B #2F7114 #45A51D #5AD927

Accessibility & contrast

On white

6.01
#2F7114 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2F7114 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7114
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7114#FFFFFF#000000##FFFFFF
##2F71141.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#296D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f7114;
/* rgb */ color: rgb(47, 113, 20);
/* oklch */ color: oklch(48.7% 0.140 138.7);
Tailwind
colors: {
  custom: {
    50: '#709a5a',
    500: '#2f7114',
    950: '#000000',
  },
}
SCSS
$custom: #2f7114;
$custom-light: #709a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7114",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 20
  },
  "hsl": {
    "h": 102.581,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48691,
    "c": 0.14032,
    "h": 138.7
  },
  "luminance": 0.12465
}

Semantic roles & 50–950 ramp

primary
#2F7114
secondary
#8739A7
accent
#3BEDB9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7114

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

Preview Lab → · Contrast checker → · Palette generator →

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