#1F712E#1F712E

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

Color values

HEX#1F712E
RGBrgb(31, 113, 46)
HSLhsl(131, 57%, 28%)
HSVhsv(131, 73%, 44%)
CMYKcmyk(72.6%, 0%, 59.3%, 55.7%)
CIE-LABlab(41.69, -39.43, 29.85)
CIE-LCHlch(41.69, 49.46, 142.88°)
OKLaboklab(48.41% -0.1064 0.071)
OKLCHoklch(48.41% 0.128 146.3)
XYZxyz(6.9629, 12.2981, 4.5911)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F712E #711F62
analogous
#39711F #1F712E #1F7157
triadic
#1F712E #2E1F71 #712E1F
tetradic
#1F712E #1F3971 #711F62 #71571F
square
#1F712E #1F3971 #711F62 #71571F
split-complementary
#1F712E #571F71 #711F39
monochromatic
#07180A #12411A #1F712E #2CA142 #40CB59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F712E#FFFFFF#000000##FFFFFF
##1F712E1.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)
#736627
Deuteranopia (green-blind)
#696033
Tritanopia (blue-blind)
#006E62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f712e;
/* rgb */ color: rgb(31, 113, 46);
/* oklch */ color: oklch(48.4% 0.128 146.3);
Tailwind
colors: {
  custom: {
    50: '#679b69',
    500: '#1f712e',
    950: '#000000',
  },
}
SCSS
$custom: #1f712e;
$custom-light: #679b69;
$custom-dark: #000000;
JSON
{
  "hex": "#1f712e",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 46
  },
  "hsl": {
    "h": 130.976,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48413,
    "c": 0.12791,
    "h": 146.3
  },
  "luminance": 0.12299
}

Semantic roles & 50–950 ramp

primary
#1F712E
secondary
#A54794
accent
#48C4E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F712E

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

Preview Lab → · Contrast checker → · Palette generator →

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