#2F7019#2F7019

#2F7019 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.136 H 139.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2F7019
RGBrgb(47, 112, 25)
HSLhsl(105, 64%, 27%)
HSVhsv(105, 78%, 44%)
CMYKcmyk(58%, 0%, 77.7%, 56.1%)
CIE-LABlab(41.63, -37.42, 39.57)
CIE-LCHlch(41.63, 54.46, 133.40°)
OKLaboklab(48.44% -0.103 0.089)
OKLCHoklch(48.44% 0.136 139.2)
XYZxyz(7.1416, 12.2623, 2.9100)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7019 #5A1970
analogous
#5B7019 #2F7019 #19702F
triadic
#2F7019 #192F70 #70192F
tetradic
#2F7019 #195B70 #5A1970 #702F19
square
#2F7019 #195B70 #5A1970 #702F19
split-complementary
#2F7019 #2F1970 #70195B
monochromatic
#0A1906 #1A3E0E #2F7019 #44A224 #5AD132

Accessibility & contrast

On white

6.08
#2F7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#2F7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7019
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7019#FFFFFF#000000##FFFFFF
##2F70191.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736608
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#286C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2f7019;
/* rgb */ color: rgb(47, 112, 25);
/* oklch */ color: oklch(48.4% 0.136 139.2);
Tailwind
colors: {
  custom: {
    50: '#709a5c',
    500: '#2f7019',
    950: '#000000',
  },
}
SCSS
$custom: #2f7019;
$custom-light: #709a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7019",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 104.828,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48441,
    "c": 0.13617,
    "h": 139.2
  },
  "luminance": 0.12263
}

Semantic roles & 50–950 ramp

primary
#2F7019
secondary
#8C40A5
accent
#41E7BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7019

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

Preview Lab → · Contrast checker → · Palette generator →

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