#2F8115#2F8115

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

Color values

HEX#2F8115
RGBrgb(47, 129, 21)
HSLhsl(106, 72%, 29%)
HSVhsv(106, 84%, 51%)
CMYKcmyk(63.6%, 0%, 83.7%, 49.4%)
CIE-LABlab(47.44, -44.23, 46.50)
CIE-LCHlch(47.44, 64.18, 133.57°)
OKLaboklab(53.24% -0.1216 0.1029)
OKLCHoklch(53.24% 0.159 139.8)
XYZxyz(9.1575, 16.3581, 3.3842)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8115 #671581
analogous
#658115 #2F8115 #158131
triadic
#2F8115 #152F81 #81152F
tetradic
#2F8115 #156581 #671581 #813115
square
#2F8115 #156581 #671581 #813115
split-complementary
#2F8115 #311581 #811565
monochromatic
#0A1A04 #1C4C0C #2F8115 #42B61E #5CDE33

Accessibility & contrast

On white

4.92
#2F8115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F8115
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8115#FFFFFF#000000##FFFFFF
##2F81151.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7B6E22
Tritanopia (blue-blind)
#247C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f8115;
/* rgb */ color: rgb(47, 129, 21);
/* oklch */ color: oklch(53.2% 0.159 139.8);
Tailwind
colors: {
  custom: {
    50: '#73a65d',
    500: '#2f8115',
    950: '#000000',
  },
}
SCSS
$custom: #2f8115;
$custom-light: #73a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8115",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 105.556,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53236,
    "c": 0.15931,
    "h": 139.8
  },
  "luminance": 0.16359
}

Semantic roles & 50–950 ramp

primary
#2F8115
secondary
#983CB6
accent
#39EFC3
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F8115

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

Preview Lab → · Contrast checker → · Palette generator →

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