#2F7014#2F7014

#2F7014 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.139 H 138.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#2F7014
RGBrgb(47, 112, 20)
HSLhsl(102, 70%, 26%)
HSVhsv(102, 82%, 44%)
CMYKcmyk(58%, 0%, 82.1%, 56.1%)
CIE-LABlab(41.60, -37.77, 41.34)
CIE-LCHlch(41.60, 56.00, 132.41°)
OKLaboklab(48.41% -0.1043 0.092)
OKLCHoklch(48.41% 0.139 138.6)
XYZxyz(7.0925, 12.2426, 2.6510)
Luminance0.1224 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7014 #551470
analogous
#5D7014 #2F7014 #147027
triadic
#2F7014 #142F70 #70142F
tetradic
#2F7014 #145D70 #551470 #702714
square
#2F7014 #145D70 #551470 #702714
split-complementary
#2F7014 #271470 #70145D
monochromatic
#0B1A05 #193C0B #2F7014 #45A41D #5BD827

Accessibility & contrast

On white

6.09
#2F7014 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2F7014 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7014
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7014#FFFFFF#000000##FFFFFF
##2F70141.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#296C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f7014;
/* rgb */ color: rgb(47, 112, 20);
/* oklch */ color: oklch(48.4% 0.139 138.6);
Tailwind
colors: {
  custom: {
    50: '#709a5a',
    500: '#2f7014',
    950: '#000000',
  },
}
SCSS
$custom: #2f7014;
$custom-light: #709a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7014",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 102.391,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48406,
    "c": 0.13906,
    "h": 138.6
  },
  "luminance": 0.12243
}

Semantic roles & 50–950 ramp

primary
#2F7014
secondary
#8639A6
accent
#3BEDB8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7014

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

Preview Lab → · Contrast checker → · Palette generator →

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