#1F701C#1F701C

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

Color values

HEX#1F701C
RGBrgb(31, 112, 28)
HSLhsl(118, 60%, 27%)
HSVhsv(118, 75%, 44%)
CMYKcmyk(72.3%, 0%, 75%, 56.1%)
CIE-LABlab(41.16, -41.18, 37.73)
CIE-LCHlch(41.16, 55.85, 137.50°)
OKLaboklab(47.92% -0.112 0.0858)
OKLCHoklch(47.92% 0.141 142.5)
XYZxyz(6.5685, 11.9628, 3.0613)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F701C #6D1C70
analogous
#49701C #1F701C #1C7043
triadic
#1F701C #1C1F70 #701C1F
tetradic
#1F701C #1C4970 #6D1C70 #70431C
square
#1F701C #1C4970 #6D1C70 #70431C
split-complementary
#1F701C #431C70 #701C49
monochromatic
#071806 #113F10 #1F701C #2DA128 #3ECD39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F701C#FFFFFF#000000##FFFFFF
##1F701C1.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)
#73650E
Deuteranopia (green-blind)
#695F24
Tritanopia (blue-blind)
#096D5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f701c;
/* rgb */ color: rgb(31, 112, 28);
/* oklch */ color: oklch(47.9% 0.141 142.5);
Tailwind
colors: {
  custom: {
    50: '#689a5e',
    500: '#1f701c',
    950: '#000000',
  },
}
SCSS
$custom: #1f701c;
$custom-light: #689a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f701c",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 117.857,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.47917,
    "c": 0.14106,
    "h": 142.5
  },
  "luminance": 0.11963
}

Semantic roles & 50–950 ramp

primary
#1F701C
secondary
#A143A5
accent
#45E3DD
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1F701C

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

Preview Lab → · Contrast checker → · Palette generator →

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