#2F7819#2F7819

#2F7819 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.146 H 139.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#2F7819
RGBrgb(47, 120, 25)
HSLhsl(106, 66%, 28%)
HSVhsv(106, 79%, 47%)
CMYKcmyk(60.8%, 0%, 79.2%, 52.9%)
CIE-LABlab(44.39, -40.58, 42.28)
CIE-LCHlch(44.39, 58.60, 133.82°)
OKLaboklab(50.72% -0.1115 0.0947)
OKLCHoklch(50.72% 0.146 139.7)
XYZxyz(8.0639, 14.1068, 3.2174)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7819 #621978
analogous
#5E7819 #2F7819 #197832
triadic
#2F7819 #192F78 #78192F
tetradic
#2F7819 #195E78 #621978 #783219
square
#2F7819 #195E78 #621978 #783219
split-complementary
#2F7819 #321978 #78195E
monochromatic
#0A1905 #1B450E #2F7819 #43AB24 #5BD536

Accessibility & contrast

On white

5.50
#2F7819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2F7819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7819
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7819#FFFFFF#000000##FFFFFF
##2F78191.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D04
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#267466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f7819;
/* rgb */ color: rgb(47, 120, 25);
/* oklch */ color: oklch(50.7% 0.146 139.7);
Tailwind
colors: {
  custom: {
    50: '#71a05d',
    500: '#2f7819',
    950: '#000000',
  },
}
SCSS
$custom: #2f7819;
$custom-light: #71a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7819",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 106.105,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50716,
    "c": 0.14633,
    "h": 139.7
  },
  "luminance": 0.14107
}

Semantic roles & 50–950 ramp

primary
#2F7819
secondary
#9440AD
accent
#3FE8C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #2F7819

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

Preview Lab → · Contrast checker → · Palette generator →

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