#1F7719#1F7719

#1F7719 is a mid, vivid green. Relative luminance 0.136; OKLCH L 49.9% C 0.151 H 142.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#1F7719
RGBrgb(31, 119, 25)
HSLhsl(116, 65%, 28%)
HSVhsv(116, 79%, 47%)
CMYKcmyk(73.9%, 0%, 79%, 53.3%)
CIE-LABlab(43.59, -43.95, 41.34)
CIE-LCHlch(43.59, 60.34, 136.75°)
OKLaboklab(49.93% -0.1196 0.0929)
OKLCHoklch(49.93% 0.151 142.2)
XYZxyz(7.3369, 13.5543, 3.1491)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7719 #711977
analogous
#4E7719 #1F7719 #197742
triadic
#1F7719 #191F77 #77191F
tetradic
#1F7719 #194E77 #711977 #774219
square
#1F7719 #194E77 #711977 #774219
split-complementary
#1F7719 #421977 #77194E
monochromatic
#071905 #12440E #1F7719 #2CAA24 #40D536

Accessibility & contrast

On white

5.66
#1F7719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#1F7719 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7719
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7719#FFFFFF#000000##FFFFFF
##1F77191.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B04
Deuteranopia (green-blind)
#706423
Tritanopia (blue-blind)
#047365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f7719;
/* rgb */ color: rgb(31, 119, 25);
/* oklch */ color: oklch(49.9% 0.151 142.2);
Tailwind
colors: {
  custom: {
    50: '#6a9f5d',
    500: '#1f7719',
    950: '#000000',
  },
}
SCSS
$custom: #1f7719;
$custom-light: #6a9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7719",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 25
  },
  "hsl": {
    "h": 116.17,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49926,
    "c": 0.15146,
    "h": 142.2
  },
  "luminance": 0.13555
}

Semantic roles & 50–950 ramp

primary
#1F7719
secondary
#A540AC
accent
#40E8DD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #1F7719

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

Preview Lab → · Contrast checker → · Palette generator →

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