#1F701F#1F701F

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

Color values

HEX#1F701F
RGBrgb(31, 112, 31)
HSLhsl(120, 57%, 28%)
HSVhsv(120, 72%, 44%)
CMYKcmyk(72.3%, 0%, 72.3%, 56.1%)
CIE-LABlab(41.18, -40.89, 36.49)
CIE-LCHlch(41.18, 54.80, 138.26°)
OKLaboklab(47.94% -0.111 0.0836)
OKLCHoklch(47.94% 0.139 143)
XYZxyz(6.6062, 11.9779, 3.2599)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F701F #701F70
analogous
#47701F #1F701F #1F7047
triadic
#1F701F #1F1F70 #701F1F
tetradic
#1F701F #1F4770 #701F70 #70471F
square
#1F701F #1F4770 #701F70 #70471F
split-complementary
#1F701F #471F70 #701F47
monochromatic
#071807 #124012 #1F701F #2CA02C #3FCA3F

Accessibility & contrast

On white

6.18
#1F701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#1F701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F701F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F701F#FFFFFF#000000##FFFFFF
##1F701F1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726513
Deuteranopia (green-blind)
#695F27
Tritanopia (blue-blind)
#086D60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f701f;
/* rgb */ color: rgb(31, 112, 31);
/* oklch */ color: oklch(47.9% 0.139 143.0);
Tailwind
colors: {
  custom: {
    50: '#689a5f',
    500: '#1f701f',
    950: '#000000',
  },
}
SCSS
$custom: #1f701f;
$custom-light: #689a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f701f",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 120,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.47944,
    "c": 0.13898,
    "h": 143
  },
  "luminance": 0.11979
}

Semantic roles & 50–950 ramp

primary
#1F701F
secondary
#A447A4
accent
#48E0E0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1F701F

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

Preview Lab → · Contrast checker → · Palette generator →

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