#2F7414#2F7414

#2F7414 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.144 H 138.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#2F7414
RGBrgb(47, 116, 20)
HSLhsl(103, 71%, 27%)
HSVhsv(103, 83%, 45%)
CMYKcmyk(59.5%, 0%, 82.8%, 54.5%)
CIE-LABlab(42.98, -39.35, 42.65)
CIE-LCHlch(42.98, 58.03, 132.70°)
OKLaboklab(49.55% -0.1085 0.0947)
OKLCHoklch(49.55% 0.144 138.9)
XYZxyz(7.5436, 13.1450, 2.8014)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7414 #591474
analogous
#5F7414 #2F7414 #147429
triadic
#2F7414 #142F74 #74142F
tetradic
#2F7414 #145F74 #591474 #742914
square
#2F7414 #145F74 #591474 #742914
split-complementary
#2F7414 #291474 #74145F
monochromatic
#0B1A05 #1A400B #2F7414 #44A81D #5ADA28

Accessibility & contrast

On white

5.79
#2F7414 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2F7414 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7414
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7414#FFFFFF#000000##FFFFFF
##2F74141.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6F631F
Tritanopia (blue-blind)
#287062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f7414;
/* rgb */ color: rgb(47, 116, 20);
/* oklch */ color: oklch(49.5% 0.144 138.9);
Tailwind
colors: {
  custom: {
    50: '#719d5b',
    500: '#2f7414',
    950: '#000000',
  },
}
SCSS
$custom: #2f7414;
$custom-light: #719d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7414",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 20
  },
  "hsl": {
    "h": 103.125,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49546,
    "c": 0.14405,
    "h": 138.9
  },
  "luminance": 0.13146
}

Semantic roles & 50–950 ramp

primary
#2F7414
secondary
#8B3AAA
accent
#3AEDBB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7414

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

Preview Lab → · Contrast checker → · Palette generator →

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