#2F8117#2F8117

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

Color values

HEX#2F8117
RGBrgb(47, 129, 23)
HSLhsl(106, 70%, 30%)
HSVhsv(106, 82%, 51%)
CMYKcmyk(63.6%, 0%, 82.2%, 49.4%)
CIE-LABlab(47.45, -44.12, 45.89)
CIE-LCHlch(47.45, 63.66, 133.87°)
OKLaboklab(53.25% -0.1212 0.102)
OKLCHoklch(53.25% 0.158 139.9)
XYZxyz(9.1768, 16.3658, 3.4858)
Luminance0.1637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8117 #691781
analogous
#648117 #2F8117 #178134
triadic
#2F8117 #172F81 #81172F
tetradic
#2F8117 #176481 #691781 #813417
square
#2F8117 #176481 #691781 #813417
split-complementary
#2F8117 #341781 #811764
monochromatic
#091A05 #1C4D0E #2F8117 #42B520 #5CDB37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8117#FFFFFF#000000##FFFFFF
##2F81171.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)
#7B6E24
Tritanopia (blue-blind)
#247D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f8117;
/* rgb */ color: rgb(47, 129, 23);
/* oklch */ color: oklch(53.2% 0.158 139.9);
Tailwind
colors: {
  custom: {
    50: '#73a65e',
    500: '#2f8117',
    950: '#000000',
  },
}
SCSS
$custom: #2f8117;
$custom-light: #73a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8117",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 106.415,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53247,
    "c": 0.15836,
    "h": 139.9
  },
  "luminance": 0.16367
}

Semantic roles & 50–950 ramp

primary
#2F8117
secondary
#9A3EB5
accent
#3BEDC4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F8117

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

Preview Lab → · Contrast checker → · Palette generator →

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