#1F7619#1F7619

#1F7619 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.6% C 0.150 H 142.2°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#1F7619
RGBrgb(31, 118, 25)
HSLhsl(116, 65%, 28%)
HSVhsv(116, 79%, 46%)
CMYKcmyk(73.7%, 0%, 78.8%, 53.7%)
CIE-LABlab(43.24, -43.59, 41.00)
CIE-LCHlch(43.24, 59.85, 136.76°)
OKLaboklab(49.64% -0.1187 0.0922)
OKLCHoklch(49.64% 0.15 142.2)
XYZxyz(7.2186, 13.3176, 3.1096)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7619 #701976
analogous
#4D7619 #1F7619 #197641
triadic
#1F7619 #191F76 #76191F
tetradic
#1F7619 #194D76 #701976 #764119
square
#1F7619 #194D76 #701976 #764119
split-complementary
#1F7619 #411976 #76194D
monochromatic
#071905 #12430E #1F7619 #2CA824 #3FD435

Accessibility & contrast

On white

5.73
#1F7619 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#1F7619 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7619
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7619#FFFFFF#000000##FFFFFF
##1F76191.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A05
Deuteranopia (green-blind)
#6F6423
Tritanopia (blue-blind)
#057264
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f7619;
/* rgb */ color: rgb(31, 118, 25);
/* oklch */ color: oklch(49.6% 0.150 142.2);
Tailwind
colors: {
  custom: {
    50: '#6a9e5d',
    500: '#1f7619',
    950: '#000000',
  },
}
SCSS
$custom: #1f7619;
$custom-light: #6a9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7619",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 25
  },
  "hsl": {
    "h": 116.129,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49636,
    "c": 0.15028,
    "h": 142.2
  },
  "luminance": 0.13318
}

Semantic roles & 50–950 ramp

primary
#1F7619
secondary
#A440AB
accent
#40E8DD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F7619

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

Preview Lab → · Contrast checker → · Palette generator →

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