#1F722F#1F722F

#1F722F is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.128 H 146.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#1F722F
RGBrgb(31, 114, 47)
HSLhsl(132, 57%, 28%)
HSVhsv(132, 73%, 45%)
CMYKcmyk(72.8%, 0%, 58.8%, 55.3%)
CIE-LABlab(42.05, -39.68, 29.76)
CIE-LCHlch(42.05, 49.59, 143.13°)
OKLaboklab(48.72% -0.107 0.0709)
OKLCHoklch(48.72% 0.128 146.5)
XYZxyz(7.0950, 12.5304, 4.7335)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F722F #721F62
analogous
#38721F #1F722F #1F7258
triadic
#1F722F #2F1F72 #722F1F
tetradic
#1F722F #1F3872 #721F62 #72581F
square
#1F722F #1F3872 #721F62 #72581F
split-complementary
#1F722F #581F72 #721F38
monochromatic
#07180A #12421B #1F722F #2CA243 #40CB5B

Accessibility & contrast

On white

5.99
#1F722F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#1F722F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F722F
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F722F#FFFFFF#000000##FFFFFF
##1F722F1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746729
Deuteranopia (green-blind)
#6A6134
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1f722f;
/* rgb */ color: rgb(31, 114, 47);
/* oklch */ color: oklch(48.7% 0.128 146.5);
Tailwind
colors: {
  custom: {
    50: '#679b69',
    500: '#1f722f',
    950: '#000000',
  },
}
SCSS
$custom: #1f722f;
$custom-light: #679b69;
$custom-dark: #000000;
JSON
{
  "hex": "#1f722f",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 47
  },
  "hsl": {
    "h": 131.566,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48715,
    "c": 0.12836,
    "h": 146.5
  },
  "luminance": 0.12531
}

Semantic roles & 50–950 ramp

primary
#1F722F
secondary
#A64794
accent
#47C3E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F722F

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

Preview Lab → · Contrast checker → · Palette generator →

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