#1F7112#1F7112

#1F7112 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.148 H 141.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#1F7112
RGBrgb(31, 113, 18)
HSLhsl(112, 73%, 26%)
HSVhsv(112, 84%, 44%)
CMYKcmyk(72.6%, 0%, 84.1%, 55.7%)
CIE-LABlab(41.44, -42.31, 41.68)
CIE-LCHlch(41.44, 59.39, 135.43°)
OKLaboklab(48.14% -0.1156 0.0926)
OKLCHoklch(48.14% 0.148 141.3)
XYZxyz(6.5790, 12.1445, 2.5696)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7112 #641271
analogous
#4E7112 #1F7112 #127134
triadic
#1F7112 #121F71 #71121F
tetradic
#1F7112 #124E71 #641271 #713412
square
#1F7112 #124E71 #641271 #713412
split-complementary
#1F7112 #341271 #71124E
monochromatic
#071A04 #113C0A #1F7112 #2DA61A #3CDB23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7112#FFFFFF#000000##FFFFFF
##1F71121.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)
#746600
Deuteranopia (green-blind)
#6B5F1E
Tritanopia (blue-blind)
#0B6D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f7112;
/* rgb */ color: rgb(31, 113, 18);
/* oklch */ color: oklch(48.1% 0.148 141.3);
Tailwind
colors: {
  custom: {
    50: '#699b59',
    500: '#1f7112',
    950: '#000000',
  },
}
SCSS
$custom: #1f7112;
$custom-light: #699b59;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7112",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 111.789,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48135,
    "c": 0.14806,
    "h": 141.3
  },
  "luminance": 0.12145
}

Semantic roles & 50–950 ramp

primary
#1F7112
secondary
#9837A8
accent
#39EFD6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F7112

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

Preview Lab → · Contrast checker → · Palette generator →

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