#2F8119#2F8119

#2F8119 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.157 H 140.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2F8119
RGBrgb(47, 129, 25)
HSLhsl(107, 68%, 30%)
HSVhsv(107, 81%, 51%)
CMYKcmyk(63.6%, 0%, 80.6%, 49.4%)
CIE-LABlab(47.46, -43.99, 45.25)
CIE-LCHlch(47.46, 63.11, 134.19°)
OKLaboklab(53.26% -0.1207 0.1009)
OKLCHoklch(53.26% 0.157 140.1)
XYZxyz(9.1976, 16.3742, 3.5953)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8119 #6B1981
analogous
#638119 #2F8119 #198137
triadic
#2F8119 #192F81 #81192F
tetradic
#2F8119 #196381 #6B1981 #813719
square
#2F8119 #196381 #6B1981 #813719
split-complementary
#2F8119 #371981 #811963
monochromatic
#0A1A05 #1C4E0F #2F8119 #42B423 #5DD93B

Accessibility & contrast

On white

4.91
#2F8119 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2F8119 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8119
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8119#FFFFFF#000000##FFFFFF
##2F81191.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#237D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f8119;
/* rgb */ color: rgb(47, 129, 25);
/* oklch */ color: oklch(53.3% 0.157 140.1);
Tailwind
colors: {
  custom: {
    50: '#73a65f',
    500: '#2f8119',
    950: '#000000',
  },
}
SCSS
$custom: #2f8119;
$custom-light: #73a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8119",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 25
  },
  "hsl": {
    "h": 107.308,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53259,
    "c": 0.15735,
    "h": 140.1
  },
  "luminance": 0.16375
}

Semantic roles & 50–950 ramp

primary
#2F8119
secondary
#9C41B5
accent
#3DEAC6
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F8119

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

Preview Lab → · Contrast checker → · Palette generator →

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