#2F7319#2F7319

#2F7319 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.140 H 139.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2F7319
RGBrgb(47, 115, 25)
HSLhsl(105, 64%, 27%)
HSVhsv(105, 78%, 45%)
CMYKcmyk(59.1%, 0%, 78.3%, 54.9%)
CIE-LABlab(42.67, -38.62, 40.59)
CIE-LCHlch(42.67, 56.03, 133.57°)
OKLaboklab(49.3% -0.1063 0.0912)
OKLCHoklch(49.3% 0.14 139.4)
XYZxyz(7.4782, 12.9354, 3.0222)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7319 #5D1973
analogous
#5C7319 #2F7319 #197330
triadic
#2F7319 #192F73 #73192F
tetradic
#2F7319 #195C73 #5D1973 #733019
square
#2F7319 #195C73 #5D1973 #733019
split-complementary
#2F7319 #301973 #73195C
monochromatic
#0A1905 #1A410E #2F7319 #44A524 #5BD334

Accessibility & contrast

On white

5.85
#2F7319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2F7319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7319
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7319#FFFFFF#000000##FFFFFF
##2F73191.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766806
Deuteranopia (green-blind)
#6E6323
Tritanopia (blue-blind)
#286F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f7319;
/* rgb */ color: rgb(47, 115, 25);
/* oklch */ color: oklch(49.3% 0.140 139.4);
Tailwind
colors: {
  custom: {
    50: '#709c5d',
    500: '#2f7319',
    950: '#000000',
  },
}
SCSS
$custom: #2f7319;
$custom-light: #709c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7319",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 105.333,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49296,
    "c": 0.14002,
    "h": 139.4
  },
  "luminance": 0.12936
}

Semantic roles & 50–950 ramp

primary
#2F7319
secondary
#8F40A8
accent
#41E7BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7319

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

Preview Lab → · Contrast checker → · Palette generator →

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