#2F7919#2F7919

#2F7919 is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.148 H 139.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2F7919
RGBrgb(47, 121, 25)
HSLhsl(106, 66%, 29%)
HSVhsv(106, 79%, 47%)
CMYKcmyk(61.2%, 0%, 79.3%, 52.5%)
CIE-LABlab(44.73, -40.96, 42.62)
CIE-LCHlch(44.73, 59.11, 133.87°)
OKLaboklab(51% -0.1126 0.0954)
OKLCHoklch(51% 0.148 139.7)
XYZxyz(8.1848, 14.3485, 3.2577)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7919 #631979
analogous
#5F7919 #2F7919 #197933
triadic
#2F7919 #192F79 #79192F
tetradic
#2F7919 #195F79 #631979 #793319
square
#2F7919 #195F79 #631979 #793319
split-complementary
#2F7919 #331979 #79195F
monochromatic
#0A1905 #1B460F #2F7919 #43AC23 #5BD637

Accessibility & contrast

On white

5.43
#2F7919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2F7919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7919
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7919#FFFFFF#000000##FFFFFF
##2F79191.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#267567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f7919;
/* rgb */ color: rgb(47, 121, 25);
/* oklch */ color: oklch(51.0% 0.148 139.7);
Tailwind
colors: {
  custom: {
    50: '#71a05e',
    500: '#2f7919',
    950: '#000000',
  },
}
SCSS
$custom: #2f7919;
$custom-light: #71a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7919",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 106.25,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51,
    "c": 0.14757,
    "h": 139.7
  },
  "luminance": 0.14349
}

Semantic roles & 50–950 ramp

primary
#2F7919
secondary
#9540AE
accent
#3FE9C2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2F7919

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

Preview Lab → · Contrast checker → · Palette generator →

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