#2F7715#2F7715

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

Color values

HEX#2F7715
RGBrgb(47, 119, 21)
HSLhsl(104, 70%, 27%)
HSVhsv(104, 82%, 47%)
CMYKcmyk(60.5%, 0%, 82.4%, 53.3%)
CIE-LABlab(44.02, -40.46, 43.30)
CIE-LCHlch(44.02, 59.26, 133.06°)
OKLaboklab(50.41% -0.1115 0.0962)
OKLCHoklch(50.41% 0.147 139.2)
XYZxyz(7.9041, 13.8514, 2.9664)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7715 #5D1577
analogous
#607715 #2F7715 #15772C
triadic
#2F7715 #152F77 #77152F
tetradic
#2F7715 #156077 #5D1577 #772C15
square
#2F7715 #156077 #5D1577 #772C15
split-complementary
#2F7715 #2C1577 #771560
monochromatic
#0A1A05 #1A430C #2F7715 #44AB1E #5BDA2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7715#FFFFFF#000000##FFFFFF
##2F77151.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)
#726621
Tritanopia (blue-blind)
#277365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2f7715;
/* rgb */ color: rgb(47, 119, 21);
/* oklch */ color: oklch(50.4% 0.147 139.2);
Tailwind
colors: {
  custom: {
    50: '#719f5b',
    500: '#2f7715',
    950: '#000000',
  },
}
SCSS
$custom: #2f7715;
$custom-light: #719f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7715",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 21
  },
  "hsl": {
    "h": 104.082,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50406,
    "c": 0.14725,
    "h": 139.2
  },
  "luminance": 0.13852
}

Semantic roles & 50–950 ramp

primary
#2F7715
secondary
#8F3BAD
accent
#3BEDBE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7715

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

Preview Lab → · Contrast checker → · Palette generator →

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