#2F7219#2F7219

#2F7219 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.139 H 139.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#2F7219
RGBrgb(47, 114, 25)
HSLhsl(105, 64%, 27%)
HSVhsv(105, 78%, 45%)
CMYKcmyk(58.8%, 0%, 78.1%, 55.3%)
CIE-LABlab(42.32, -38.22, 40.25)
CIE-LCHlch(42.32, 55.51, 133.52°)
OKLaboklab(49.01% -0.1052 0.0905)
OKLCHoklch(49.01% 0.139 139.3)
XYZxyz(7.3648, 12.7085, 2.9844)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7219 #5C1972
analogous
#5B7219 #2F7219 #197230
triadic
#2F7219 #192F72 #72192F
tetradic
#2F7219 #195B72 #5C1972 #723019
square
#2F7219 #195B72 #5C1972 #723019
split-complementary
#2F7219 #301972 #72195B
monochromatic
#0A1906 #1A400E #2F7219 #44A424 #5AD233

Accessibility & contrast

On white

5.93
#2F7219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#2F7219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7219
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7219#FFFFFF#000000##FFFFFF
##2F72191.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756707
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#286E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f7219;
/* rgb */ color: rgb(47, 114, 25);
/* oklch */ color: oklch(49.0% 0.139 139.3);
Tailwind
colors: {
  custom: {
    50: '#709b5d',
    500: '#2f7219',
    950: '#000000',
  },
}
SCSS
$custom: #2f7219;
$custom-light: #709b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7219",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 25
  },
  "hsl": {
    "h": 105.169,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49011,
    "c": 0.13875,
    "h": 139.3
  },
  "luminance": 0.12709
}

Semantic roles & 50–950 ramp

primary
#2F7219
secondary
#8E40A7
accent
#41E7BE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7219

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

Preview Lab → · Contrast checker → · Palette generator →

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