#1F7411#1F7411

#1F7411 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.152 H 141.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#1F7411
RGBrgb(31, 116, 17)
HSLhsl(112, 74%, 26%)
HSVhsv(112, 85%, 45%)
CMYKcmyk(73.3%, 0%, 85.3%, 54.5%)
CIE-LABlab(42.49, -43.43, 42.96)
CIE-LCHlch(42.49, 61.09, 135.31°)
OKLaboklab(49% -0.1186 0.0951)
OKLCHoklch(49% 0.152 141.3)
XYZxyz(6.9113, 12.8218, 2.6408)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7411 #661174
analogous
#507411 #1F7411 #117434
triadic
#1F7411 #111F74 #74111F
tetradic
#1F7411 #115074 #661174 #743411
square
#1F7411 #115074 #661174 #743411
split-complementary
#1F7411 #341174 #741150
monochromatic
#071B04 #113F09 #1F7411 #2DA919 #3CDE21

Accessibility & contrast

On white

5.89
#1F7411 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#1F7411 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7411
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7411#FFFFFF#000000##FFFFFF
##1F74111.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6D621E
Tritanopia (blue-blind)
#097062
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f7411;
/* rgb */ color: rgb(31, 116, 17);
/* oklch */ color: oklch(49.0% 0.152 141.3);
Tailwind
colors: {
  custom: {
    50: '#699d59',
    500: '#1f7411',
    950: '#000000',
  },
}
SCSS
$custom: #1f7411;
$custom-light: #699d59;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7411",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 17
  },
  "hsl": {
    "h": 111.515,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49004,
    "c": 0.15204,
    "h": 141.3
  },
  "luminance": 0.12823
}

Semantic roles & 50–950 ramp

primary
#1F7411
secondary
#9A36AB
accent
#37F1D7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F7411

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

Preview Lab → · Contrast checker → · Palette generator →

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