#2F8113#2F8113

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

Color values

HEX#2F8113
RGBrgb(47, 129, 19)
HSLhsl(105, 74%, 29%)
HSVhsv(105, 85%, 51%)
CMYKcmyk(63.6%, 0%, 85.3%, 49.4%)
CIE-LABlab(47.43, -44.34, 47.07)
CIE-LCHlch(47.43, 64.67, 133.29°)
OKLaboklab(53.23% -0.122 0.1038)
OKLCHoklch(53.23% 0.16 139.6)
XYZxyz(9.1397, 16.3510, 3.2904)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8113 #651381
analogous
#668113 #2F8113 #13812E
triadic
#2F8113 #132F81 #81132F
tetradic
#2F8113 #136681 #651381 #812E13
square
#2F8113 #136681 #651381 #812E13
split-complementary
#2F8113 #2E1381 #811366
monochromatic
#0A1B04 #1C4C0B #2F8113 #42B61B #5BE02E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8113#FFFFFF#000000##FFFFFF
##2F81131.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)
#7B6E21
Tritanopia (blue-blind)
#247C6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f8113;
/* rgb */ color: rgb(47, 129, 19);
/* oklch */ color: oklch(53.2% 0.160 139.6);
Tailwind
colors: {
  custom: {
    50: '#73a65c',
    500: '#2f8113',
    950: '#000000',
  },
}
SCSS
$custom: #2f8113;
$custom-light: #73a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8113",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 19
  },
  "hsl": {
    "h": 104.727,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53225,
    "c": 0.16019,
    "h": 139.6
  },
  "luminance": 0.16352
}

Semantic roles & 50–950 ramp

primary
#2F8113
secondary
#973AB6
accent
#37F1C2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #2F8113

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

Preview Lab → · Contrast checker → · Palette generator →

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