#2F7113#2F7113

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

Color values

HEX#2F7113
RGBrgb(47, 113, 19)
HSLhsl(102, 71%, 26%)
HSVhsv(102, 83%, 44%)
CMYKcmyk(58.4%, 0%, 83.2%, 55.7%)
CIE-LABlab(41.94, -38.23, 41.99)
CIE-LCHlch(41.94, 56.79, 132.31°)
OKLaboklab(48.69% -0.1056 0.0932)
OKLCHoklch(48.69% 0.141 138.6)
XYZxyz(7.1947, 12.4610, 2.6420)
Luminance0.1246 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7113 #551371
analogous
#5E7113 #2F7113 #137126
triadic
#2F7113 #132F71 #71132F
tetradic
#2F7113 #135E71 #551371 #712613
square
#2F7113 #135E71 #551371 #712613
split-complementary
#2F7113 #261371 #71135E
monochromatic
#0B1A04 #193D0A #2F7113 #45A51C #5BDA25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7113#FFFFFF#000000##FFFFFF
##2F71131.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)
#6C611E
Tritanopia (blue-blind)
#296D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f7113;
/* rgb */ color: rgb(47, 113, 19);
/* oklch */ color: oklch(48.7% 0.141 138.6);
Tailwind
colors: {
  custom: {
    50: '#709a5a',
    500: '#2f7113',
    950: '#000000',
  },
}
SCSS
$custom: #2f7113;
$custom-light: #709a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7113",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 19
  },
  "hsl": {
    "h": 102.128,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48685,
    "c": 0.14082,
    "h": 138.6
  },
  "luminance": 0.12462
}

Semantic roles & 50–950 ramp

primary
#2F7113
secondary
#8638A8
accent
#3AEEB8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7113

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

Preview Lab → · Contrast checker → · Palette generator →

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