#1F701E#1F701E

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

Color values

HEX#1F701E
RGBrgb(31, 112, 30)
HSLhsl(119, 58%, 28%)
HSVhsv(119, 73%, 44%)
CMYKcmyk(72.3%, 0%, 73.2%, 56.1%)
CIE-LABlab(41.17, -40.99, 36.91)
CIE-LCHlch(41.17, 55.16, 138.00°)
OKLaboklab(47.94% -0.1113 0.0844)
OKLCHoklch(47.94% 0.14 142.9)
XYZxyz(6.5932, 11.9727, 3.1915)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F701E #6F1E70
analogous
#48701E #1F701E #1E7046
triadic
#1F701E #1E1F70 #701E1F
tetradic
#1F701E #1E4870 #6F1E70 #70461E
square
#1F701E #1E4870 #6F1E70 #70461E
split-complementary
#1F701E #461E70 #701E48
monochromatic
#071806 #124011 #1F701E #2CA02B #3FCB3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F701E#FFFFFF#000000##FFFFFF
##1F701E1.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)
#736511
Deuteranopia (green-blind)
#695F26
Tritanopia (blue-blind)
#086D60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f701e;
/* rgb */ color: rgb(31, 112, 30);
/* oklch */ color: oklch(47.9% 0.140 142.9);
Tailwind
colors: {
  custom: {
    50: '#689a5f',
    500: '#1f701e',
    950: '#000000',
  },
}
SCSS
$custom: #1f701e;
$custom-light: #689a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f701e",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 119.268,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47935,
    "c": 0.13969,
    "h": 142.9
  },
  "luminance": 0.11973
}

Semantic roles & 50–950 ramp

primary
#1F701E
secondary
#A346A4
accent
#47E1DF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1F701E

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

Preview Lab → · Contrast checker → · Palette generator →

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