#2F8019#2F8019

#2F8019 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.156 H 140.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2F8019
RGBrgb(47, 128, 25)
HSLhsl(107, 67%, 30%)
HSVhsv(107, 80%, 50%)
CMYKcmyk(63.3%, 0%, 80.5%, 49.8%)
CIE-LABlab(47.12, -43.62, 44.93)
CIE-LCHlch(47.12, 62.62, 134.15°)
OKLaboklab(52.98% -0.1197 0.1002)
OKLCHoklch(52.98% 0.156 140.1)
XYZxyz(9.0665, 16.1120, 3.5517)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8019 #6A1980
analogous
#638019 #2F8019 #198036
triadic
#2F8019 #192F80 #80192F
tetradic
#2F8019 #196380 #6A1980 #803619
square
#2F8019 #196380 #6A1980 #803619
split-complementary
#2F8019 #361980 #801963
monochromatic
#091A05 #1C4D0F #2F8019 #42B323 #5CD93B

Accessibility & contrast

On white

4.97
#2F8019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2F8019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8019
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8019#FFFFFF#000000##FFFFFF
##2F80191.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#247C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f8019;
/* rgb */ color: rgb(47, 128, 25);
/* oklch */ color: oklch(53.0% 0.156 140.1);
Tailwind
colors: {
  custom: {
    50: '#73a65f',
    500: '#2f8019',
    950: '#000000',
  },
}
SCSS
$custom: #2f8019;
$custom-light: #73a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8019",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 107.184,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.52978,
    "c": 0.15615,
    "h": 140.1
  },
  "luminance": 0.16113
}

Semantic roles & 50–950 ramp

primary
#2F8019
secondary
#9B41B4
accent
#3EEAC5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F8019

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

Preview Lab → · Contrast checker → · Palette generator →

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