#1F701A#1F701A

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

Color values

HEX#1F701A
RGBrgb(31, 112, 26)
HSLhsl(117, 62%, 27%)
HSVhsv(117, 77%, 44%)
CMYKcmyk(72.3%, 0%, 76.8%, 56.1%)
CIE-LABlab(41.14, -41.36, 38.52)
CIE-LCHlch(41.14, 56.52, 137.03°)
OKLaboklab(47.9% -0.1126 0.0872)
OKLCHoklch(47.9% 0.142 142.2)
XYZxyz(6.5453, 11.9535, 2.9394)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F701A #6B1A70
analogous
#4A701A #1F701A #1A7040
triadic
#1F701A #1A1F70 #701A1F
tetradic
#1F701A #1A4A70 #6B1A70 #70401A
square
#1F701A #1A4A70 #6B1A70 #70401A
split-complementary
#1F701A #401A70 #701A4A
monochromatic
#071906 #113E0E #1F701A #2DA226 #3DD034

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F701A#FFFFFF#000000##FFFFFF
##1F701A1.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)
#73650A
Deuteranopia (green-blind)
#695F23
Tritanopia (blue-blind)
#0A6C5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f701a;
/* rgb */ color: rgb(31, 112, 26);
/* oklch */ color: oklch(47.9% 0.142 142.2);
Tailwind
colors: {
  custom: {
    50: '#689a5d',
    500: '#1f701a',
    950: '#000000',
  },
}
SCSS
$custom: #1f701a;
$custom-light: #689a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f701a",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 116.512,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.479,
    "c": 0.14237,
    "h": 142.2
  },
  "luminance": 0.11954
}

Semantic roles & 50–950 ramp

primary
#1F701A
secondary
#9F41A5
accent
#42E5DC
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F701A

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

Preview Lab → · Contrast checker → · Palette generator →

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