#2F8118#2F8118

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

Color values

HEX#2F8118
RGBrgb(47, 129, 24)
HSLhsl(107, 69%, 30%)
HSVhsv(107, 81%, 51%)
CMYKcmyk(63.6%, 0%, 81.4%, 49.4%)
CIE-LABlab(47.46, -44.05, 45.58)
CIE-LCHlch(47.46, 63.39, 134.03°)
OKLaboklab(53.25% -0.1209 0.1014)
OKLCHoklch(53.25% 0.158 140)
XYZxyz(9.1870, 16.3699, 3.5395)
Luminance0.1637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8118 #6A1881
analogous
#648118 #2F8118 #188135
triadic
#2F8118 #182F81 #81182F
tetradic
#2F8118 #186481 #6A1881 #813518
square
#2F8118 #186481 #6A1881 #813518
split-complementary
#2F8118 #351881 #811864
monochromatic
#091A05 #1C4D0E #2F8118 #42B522 #5CDA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8118#FFFFFF#000000##FFFFFF
##2F81181.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)
#237D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f8118;
/* rgb */ color: rgb(47, 129, 24);
/* oklch */ color: oklch(53.3% 0.158 140.0);
Tailwind
colors: {
  custom: {
    50: '#73a65e',
    500: '#2f8118',
    950: '#000000',
  },
}
SCSS
$custom: #2f8118;
$custom-light: #73a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8118",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 106.857,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.53253,
    "c": 0.15786,
    "h": 140
  },
  "luminance": 0.16371
}

Semantic roles & 50–950 ramp

primary
#2F8118
secondary
#9B40B5
accent
#3CEBC5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F8118

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

Preview Lab → · Contrast checker → · Palette generator →

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