#1F7419#1F7419

#1F7419 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.148 H 142.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#1F7419
RGBrgb(31, 116, 25)
HSLhsl(116, 65%, 28%)
HSVhsv(116, 78%, 45%)
CMYKcmyk(73.3%, 0%, 78.4%, 54.5%)
CIE-LABlab(42.54, -42.88, 40.31)
CIE-LCHlch(42.54, 58.85, 136.77°)
OKLaboklab(49.06% -0.1167 0.0908)
OKLCHoklch(49.06% 0.148 142.1)
XYZxyz(6.9855, 12.8515, 3.0320)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7419 #6E1974
analogous
#4C7419 #1F7419 #197440
triadic
#1F7419 #191F74 #74191F
tetradic
#1F7419 #194C74 #6E1974 #744019
square
#1F7419 #194C74 #6E1974 #744019
split-complementary
#1F7419 #401974 #74194C
monochromatic
#071905 #12420E #1F7419 #2CA624 #3FD334

Accessibility & contrast

On white

5.88
#1F7419 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#1F7419 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7419
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7419#FFFFFF#000000##FFFFFF
##1F74191.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776906
Deuteranopia (green-blind)
#6D6223
Tritanopia (blue-blind)
#077063
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f7419;
/* rgb */ color: rgb(31, 116, 25);
/* oklch */ color: oklch(49.1% 0.148 142.1);
Tailwind
colors: {
  custom: {
    50: '#699d5d',
    500: '#1f7419',
    950: '#000000',
  },
}
SCSS
$custom: #1f7419;
$custom-light: #699d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7419",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 25
  },
  "hsl": {
    "h": 116.044,
    "s": 64.539,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49056,
    "c": 0.14786,
    "h": 142.1
  },
  "luminance": 0.12852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F7419

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

Preview Lab → · Contrast checker → · Palette generator →

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