#1F7113#1F7113

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

Color values

HEX#1F7113
RGBrgb(31, 113, 19)
HSLhsl(112, 71%, 26%)
HSVhsv(112, 83%, 44%)
CMYKcmyk(72.6%, 0%, 83.2%, 55.7%)
CIE-LABlab(41.45, -42.25, 41.36)
CIE-LCHlch(41.45, 59.12, 135.61°)
OKLaboklab(48.14% -0.1153 0.0921)
OKLCHoklch(48.14% 0.148 141.4)
XYZxyz(6.5874, 12.1479, 2.6136)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7113 #651371
analogous
#4E7113 #1F7113 #137136
triadic
#1F7113 #131F71 #71131F
tetradic
#1F7113 #134E71 #651371 #713613
square
#1F7113 #134E71 #651371 #713613
split-complementary
#1F7113 #361371 #71134E
monochromatic
#071A04 #113D0A #1F7113 #2DA51C #3CDA25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7113#FFFFFF#000000##FFFFFF
##1F71131.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: #1f7113;
/* rgb */ color: rgb(31, 113, 19);
/* oklch */ color: oklch(48.1% 0.148 141.4);
Tailwind
colors: {
  custom: {
    50: '#699b5a',
    500: '#1f7113',
    950: '#000000',
  },
}
SCSS
$custom: #1f7113;
$custom-light: #699b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7113",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 19
  },
  "hsl": {
    "h": 112.34,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48141,
    "c": 0.14757,
    "h": 141.4
  },
  "luminance": 0.12149
}

Semantic roles & 50–950 ramp

primary
#1F7113
secondary
#9938A8
accent
#3AEED7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F7113

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

Preview Lab → · Contrast checker → · Palette generator →

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