#2F7415#2F7415

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

Color values

HEX#2F7415
RGBrgb(47, 116, 21)
HSLhsl(104, 69%, 27%)
HSVhsv(104, 82%, 45%)
CMYKcmyk(59.5%, 0%, 81.9%, 54.5%)
CIE-LABlab(42.99, -39.29, 42.32)
CIE-LCHlch(42.99, 57.75, 132.87°)
OKLaboklab(49.55% -0.1083 0.0942)
OKLCHoklch(49.55% 0.144 139)
XYZxyz(7.5527, 13.1486, 2.8493)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7415 #5A1574
analogous
#5F7415 #2F7415 #15742B
triadic
#2F7415 #152F74 #74152F
tetradic
#2F7415 #155F74 #5A1574 #742B15
square
#2F7415 #155F74 #5A1574 #742B15
split-complementary
#2F7415 #2B1574 #74155F
monochromatic
#0A1A05 #1A400C #2F7415 #44A81E #5AD92B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7415#FFFFFF#000000##FFFFFF
##2F74151.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)
#6F6320
Tritanopia (blue-blind)
#287062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f7415;
/* rgb */ color: rgb(47, 116, 21);
/* oklch */ color: oklch(49.6% 0.144 139.0);
Tailwind
colors: {
  custom: {
    50: '#709d5b',
    500: '#2f7415',
    950: '#000000',
  },
}
SCSS
$custom: #2f7415;
$custom-light: #709d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7415",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 103.579,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49553,
    "c": 0.14354,
    "h": 139
  },
  "luminance": 0.13149
}

Semantic roles & 50–950 ramp

primary
#2F7415
secondary
#8C3BAA
accent
#3CECBC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7415

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

Preview Lab → · Contrast checker → · Palette generator →

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