#1F712D#1F712D

#1F712D is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.129 H 146.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#1F712D
RGBrgb(31, 113, 45)
HSLhsl(130, 57%, 28%)
HSVhsv(130, 73%, 44%)
CMYKcmyk(72.6%, 0%, 60.2%, 55.7%)
CIE-LABlab(41.67, -39.58, 30.35)
CIE-LCHlch(41.67, 49.87, 142.52°)
OKLaboklab(48.4% -0.1068 0.072)
OKLCHoklch(48.4% 0.129 146)
XYZxyz(6.9434, 12.2903, 4.4884)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F712D #711F63
analogous
#3A711F #1F712D #1F7156
triadic
#1F712D #2D1F71 #712D1F
tetradic
#1F712D #1F3A71 #711F63 #71561F
square
#1F712D #1F3A71 #711F63 #71561F
split-complementary
#1F712D #561F71 #711F3A
monochromatic
#07180A #12411A #1F712D #2CA140 #40CB58

Accessibility & contrast

On white

6.07
#1F712D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#1F712D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F712D
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F712D#FFFFFF#000000##FFFFFF
##1F712D1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736626
Deuteranopia (green-blind)
#696032
Tritanopia (blue-blind)
#006E62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f712d;
/* rgb */ color: rgb(31, 113, 45);
/* oklch */ color: oklch(48.4% 0.129 146.0);
Tailwind
colors: {
  custom: {
    50: '#679b68',
    500: '#1f712d',
    950: '#000000',
  },
}
SCSS
$custom: #1f712d;
$custom-light: #679b68;
$custom-dark: #000000;
JSON
{
  "hex": "#1f712d",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 130.244,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48399,
    "c": 0.12882,
    "h": 146
  },
  "luminance": 0.12291
}

Semantic roles & 50–950 ramp

primary
#1F712D
secondary
#A54795
accent
#48C6E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F712D

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

Preview Lab → · Contrast checker → · Palette generator →

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