#1F7116#1F7116

#1F7116 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.2% C 0.146 H 141.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#1F7116
RGBrgb(31, 113, 22)
HSLhsl(114, 67%, 26%)
HSVhsv(114, 81%, 44%)
CMYKcmyk(72.6%, 0%, 80.5%, 55.7%)
CIE-LABlab(41.47, -42.04, 40.35)
CIE-LCHlch(41.47, 58.27, 136.17°)
OKLaboklab(48.16% -0.1146 0.0904)
OKLCHoklch(48.16% 0.146 141.7)
XYZxyz(6.6147, 12.1588, 2.7572)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7116 #681671
analogous
#4D7116 #1F7116 #16713B
triadic
#1F7116 #161F71 #71161F
tetradic
#1F7116 #164D71 #681671 #713B16
square
#1F7116 #164D71 #681671 #713B16
split-complementary
#1F7116 #3B1671 #71164D
monochromatic
#071A05 #113E0C #1F7116 #2DA420 #3CD62C

Accessibility & contrast

On white

6.12
#1F7116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#1F7116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7116
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7116#FFFFFF#000000##FFFFFF
##1F71161.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746601
Deuteranopia (green-blind)
#6A5F20
Tritanopia (blue-blind)
#0A6D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f7116;
/* rgb */ color: rgb(31, 113, 22);
/* oklch */ color: oklch(48.2% 0.146 141.7);
Tailwind
colors: {
  custom: {
    50: '#699b5b',
    500: '#1f7116',
    950: '#000000',
  },
}
SCSS
$custom: #1f7116;
$custom-light: #699b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7116",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 114.066,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48161,
    "c": 0.14598,
    "h": 141.7
  },
  "luminance": 0.12159
}

Semantic roles & 50–950 ramp

primary
#1F7116
secondary
#9C3CA7
accent
#3EEAD9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F7116

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

Preview Lab → · Contrast checker → · Palette generator →

#1F7116 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva