#1F7111#1F7111

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

Color values

HEX#1F7111
RGBrgb(31, 113, 17)
HSLhsl(111, 74%, 25%)
HSVhsv(111, 85%, 44%)
CMYKcmyk(72.6%, 0%, 85%, 55.7%)
CIE-LABlab(41.44, -42.37, 41.98)
CIE-LCHlch(41.44, 59.65, 135.27°)
OKLaboklab(48.13% -0.1158 0.093)
OKLCHoklch(48.13% 0.149 141.2)
XYZxyz(6.5710, 12.1413, 2.5274)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7111 #631171
analogous
#4F7111 #1F7111 #117133
triadic
#1F7111 #111F71 #71111F
tetradic
#1F7111 #114F71 #631171 #713311
square
#1F7111 #114F71 #631171 #713311
split-complementary
#1F7111 #331171 #71114F
monochromatic
#071B04 #103C09 #1F7111 #2EA619 #3CDB21

Accessibility & contrast

On white

6.13
#1F7111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7111
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7111#FFFFFF#000000##FFFFFF
##1F71111.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#6B5F1D
Tritanopia (blue-blind)
#0C6D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f7111;
/* rgb */ color: rgb(31, 113, 17);
/* oklch */ color: oklch(48.1% 0.149 141.2);
Tailwind
colors: {
  custom: {
    50: '#699b59',
    500: '#1f7111',
    950: '#000000',
  },
}
SCSS
$custom: #1f7111;
$custom-light: #699b59;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7111",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 111.25,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.4813,
    "c": 0.14853,
    "h": 141.2
  },
  "luminance": 0.12142
}

Semantic roles & 50–950 ramp

primary
#1F7111
secondary
#9836A8
accent
#37F1D5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F7111

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

Preview Lab → · Contrast checker → · Palette generator →

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