#2F7714#2F7714

#2F7714 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.4% C 0.148 H 139.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2F7714
RGBrgb(47, 119, 20)
HSLhsl(104, 71%, 27%)
HSVhsv(104, 83%, 47%)
CMYKcmyk(60.5%, 0%, 83.2%, 53.3%)
CIE-LABlab(44.01, -40.52, 43.62)
CIE-LCHlch(44.01, 59.53, 132.89°)
OKLaboklab(50.4% -0.1117 0.0967)
OKLCHoklch(50.4% 0.148 139.1)
XYZxyz(7.8951, 13.8478, 2.9185)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7714 #5C1477
analogous
#617714 #2F7714 #14772A
triadic
#2F7714 #142F77 #77142F
tetradic
#2F7714 #146177 #5C1477 #772A14
square
#2F7714 #146177 #5C1477 #772A14
split-complementary
#2F7714 #2A1477 #771461
monochromatic
#0A1A04 #1A430B #2F7714 #44AB1D #5ADB2A

Accessibility & contrast

On white

5.57
#2F7714 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2F7714 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7714
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7714#FFFFFF#000000##FFFFFF
##2F77141.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#277365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f7714;
/* rgb */ color: rgb(47, 119, 20);
/* oklch */ color: oklch(50.4% 0.148 139.1);
Tailwind
colors: {
  custom: {
    50: '#719f5b',
    500: '#2f7714',
    950: '#000000',
  },
}
SCSS
$custom: #2f7714;
$custom-light: #719f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7714",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 20
  },
  "hsl": {
    "h": 103.636,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.504,
    "c": 0.14775,
    "h": 139.1
  },
  "luminance": 0.13848
}

Semantic roles & 50–950 ramp

primary
#2F7714
secondary
#8E3AAD
accent
#3AEEBD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7714

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

Preview Lab → · Contrast checker → · Palette generator →

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