#1F7119#1F7119

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

Color values

HEX#1F7119
RGBrgb(31, 113, 25)
HSLhsl(116, 64%, 27%)
HSVhsv(116, 78%, 44%)
CMYKcmyk(72.6%, 0%, 77.9%, 55.7%)
CIE-LABlab(41.49, -41.81, 39.26)
CIE-LCHlch(41.49, 57.35, 136.80°)
OKLaboklab(48.18% -0.1138 0.0886)
OKLCHoklch(48.18% 0.144 142.1)
XYZxyz(6.6453, 12.1710, 2.9185)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7119 #6B1971
analogous
#4B7119 #1F7119 #19713F
triadic
#1F7119 #191F71 #71191F
tetradic
#1F7119 #194B71 #6B1971 #713F19
square
#1F7119 #194B71 #6B1971 #713F19
split-complementary
#1F7119 #3F1971 #71194B
monochromatic
#071906 #113F0E #1F7119 #2DA324 #3DD233

Accessibility & contrast

On white

6.11
#1F7119 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7119
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7119#FFFFFF#000000##FFFFFF
##1F71191.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746607
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#096D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f7119;
/* rgb */ color: rgb(31, 113, 25);
/* oklch */ color: oklch(48.2% 0.144 142.1);
Tailwind
colors: {
  custom: {
    50: '#689b5c',
    500: '#1f7119',
    950: '#000000',
  },
}
SCSS
$custom: #1f7119;
$custom-light: #689b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7119",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 25
  },
  "hsl": {
    "h": 115.909,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48183,
    "c": 0.14423,
    "h": 142.1
  },
  "luminance": 0.12172
}

Semantic roles & 50–950 ramp

primary
#1F7119
secondary
#9F40A6
accent
#41E7DB
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F7119

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

Preview Lab → · Contrast checker → · Palette generator →

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