#1F7019#1F7019

#1F7019 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.143 H 142.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#1F7019
RGBrgb(31, 112, 25)
HSLhsl(116, 64%, 27%)
HSVhsv(116, 78%, 44%)
CMYKcmyk(72.3%, 0%, 77.7%, 56.1%)
CIE-LABlab(41.14, -41.44, 38.91)
CIE-LCHlch(41.14, 56.85, 136.81°)
OKLaboklab(47.89% -0.1128 0.0878)
OKLCHoklch(47.89% 0.143 142.1)
XYZxyz(6.5343, 11.9491, 2.8816)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7019 #6A1970
analogous
#4B7019 #1F7019 #19703F
triadic
#1F7019 #191F70 #70191F
tetradic
#1F7019 #194B70 #6A1970 #703F19
square
#1F7019 #194B70 #6A1970 #703F19
split-complementary
#1F7019 #3F1970 #70194B
monochromatic
#071906 #113E0E #1F7019 #2DA224 #3DD132

Accessibility & contrast

On white

6.19
#1F7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#1F7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7019
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7019#FFFFFF#000000##FFFFFF
##1F70191.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736508
Deuteranopia (green-blind)
#695F22
Tritanopia (blue-blind)
#0A6C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f7019;
/* rgb */ color: rgb(31, 112, 25);
/* oklch */ color: oklch(47.9% 0.143 142.1);
Tailwind
colors: {
  custom: {
    50: '#689a5c',
    500: '#1f7019',
    950: '#000000',
  },
}
SCSS
$custom: #1f7019;
$custom-light: #689a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7019",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 115.862,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47892,
    "c": 0.143,
    "h": 142.1
  },
  "luminance": 0.1195
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F7019

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

Preview Lab → · Contrast checker → · Palette generator →

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