#2F8719#2F8719

#2F8719 is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.164 H 140.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2F8719
RGBrgb(47, 135, 25)
HSLhsl(108, 69%, 31%)
HSVhsv(108, 81%, 53%)
CMYKcmyk(65.2%, 0%, 81.5%, 47.1%)
CIE-LABlab(49.50, -46.19, 47.19)
CIE-LCHlch(49.50, 66.03, 134.39°)
OKLaboklab(54.95% -0.1266 0.105)
OKLCHoklch(54.95% 0.164 140.3)
XYZxyz(10.0113, 18.0015, 3.8666)
Luminance0.1800 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8719 #711987
analogous
#668719 #2F8719 #19873A
triadic
#2F8719 #192F87 #87192F
tetradic
#2F8719 #196687 #711987 #873A19
square
#2F8719 #196687 #711987 #873A19
split-complementary
#2F8719 #3A1987 #871966
monochromatic
#0B2006 #1D530F #2F8719 #41BB23 #5EDB3F

Accessibility & contrast

On white

4.56
#2F8719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2F8719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8719
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8719#FFFFFF#000000##000000
##2F87191.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#218273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f8719;
/* rgb */ color: rgb(47, 135, 25);
/* oklch */ color: oklch(54.9% 0.164 140.3);
Tailwind
colors: {
  custom: {
    50: '#74ab60',
    500: '#2f8719',
    950: '#000000',
  },
}
SCSS
$custom: #2f8719;
$custom-light: #74ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8719",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 108,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54945,
    "c": 0.16448,
    "h": 140.3
  },
  "luminance": 0.18002
}

Semantic roles & 50–950 ramp

primary
#2F8719
secondary
#A241BA
accent
#3CECC9
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #2F8719

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

Preview Lab → · Contrast checker → · Palette generator →

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