#1F723D#1F723D

#1F723D is a mid, moderate green. Relative luminance 0.127; OKLCH L 48.9% C 0.115 H 151.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#1F723D
RGBrgb(31, 114, 61)
HSLhsl(142, 57%, 28%)
HSVhsv(142, 73%, 45%)
CMYKcmyk(72.8%, 0%, 46.5%, 55.3%)
CIE-LABlab(42.25, -37.34, 22.40)
CIE-LCHlch(42.25, 43.54, 149.04°)
OKLaboklab(48.95% -0.1006 0.0551)
OKLCHoklch(48.95% 0.115 151.3)
XYZxyz(7.4241, 12.6620, 6.4667)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F723D #721F54
analogous
#2A721F #1F723D #1F7266
triadic
#1F723D #3D1F72 #723D1F
tetradic
#1F723D #1F2A72 #721F54 #72661F
square
#1F723D #1F2A72 #721F54 #72661F
split-complementary
#1F723D #661F72 #721F2A
monochromatic
#07180D #124223 #1F723D #2CA257 #40CB72

Accessibility & contrast

On white

5.94
#1F723D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#1F723D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F723D
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F723D#FFFFFF#000000##FFFFFF
##1F723D1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726839
Deuteranopia (green-blind)
#686141
Tritanopia (blue-blind)
#007065
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f723d;
/* rgb */ color: rgb(31, 114, 61);
/* oklch */ color: oklch(48.9% 0.115 151.3);
Tailwind
colors: {
  custom: {
    50: '#679b73',
    500: '#1f723d',
    950: '#000000',
  },
}
SCSS
$custom: #1f723d;
$custom-light: #679b73;
$custom-dark: #000000;
JSON
{
  "hex": "#1f723d",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 61
  },
  "hsl": {
    "h": 141.687,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48949,
    "c": 0.11472,
    "h": 151.3
  },
  "luminance": 0.12663
}

Semantic roles & 50–950 ramp

primary
#1F723D
secondary
#A64784
accent
#47A9E0
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #1F723D

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

Preview Lab → · Contrast checker → · Palette generator →

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