#1F712B#1F712B

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

Color values

HEX#1F712B
RGBrgb(31, 113, 43)
HSLhsl(129, 57%, 28%)
HSVhsv(129, 73%, 44%)
CMYKcmyk(72.6%, 0%, 61.9%, 55.7%)
CIE-LABlab(41.65, -39.85, 31.34)
CIE-LCHlch(41.65, 50.70, 141.82°)
OKLaboklab(48.37% -0.1076 0.074)
OKLCHoklch(48.37% 0.131 145.5)
XYZxyz(6.9058, 12.2752, 4.2904)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F712B #711F65
analogous
#3C711F #1F712B #1F7154
triadic
#1F712B #2B1F71 #712B1F
tetradic
#1F712B #1F3C71 #711F65 #71541F
square
#1F712B #1F3C71 #711F65 #71541F
split-complementary
#1F712B #541F71 #711F3C
monochromatic
#071809 #124119 #1F712B #2CA13D #40CB54

Accessibility & contrast

On white

6.08
#1F712B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F712B
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F712B#FFFFFF#000000##FFFFFF
##1F712B1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736624
Deuteranopia (green-blind)
#696031
Tritanopia (blue-blind)
#016E62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f712b;
/* rgb */ color: rgb(31, 113, 43);
/* oklch */ color: oklch(48.4% 0.131 145.5);
Tailwind
colors: {
  custom: {
    50: '#679b67',
    500: '#1f712b',
    950: '#000000',
  },
}
SCSS
$custom: #1f712b;
$custom-light: #679b67;
$custom-dark: #000000;
JSON
{
  "hex": "#1f712b",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 43
  },
  "hsl": {
    "h": 128.78,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48371,
    "c": 0.13061,
    "h": 145.5
  },
  "luminance": 0.12276
}

Semantic roles & 50–950 ramp

primary
#1F712B
secondary
#A54797
accent
#48CAE0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F712B

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

Preview Lab → · Contrast checker → · Palette generator →

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