#1F973F#1F973F

#1F973F is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.163 H 147.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#1F973F
RGBrgb(31, 151, 63)
HSLhsl(136, 66%, 36%)
HSVhsv(136, 79%, 59%)
CMYKcmyk(79.5%, 0%, 58.3%, 40.8%)
CIE-LABlab(54.85, -50.92, 36.88)
CIE-LCHlch(54.85, 62.87, 144.08°)
OKLaboklab(59.38% -0.1369 0.0877)
OKLCHoklch(59.38% 0.163 147.4)
XYZxyz(12.5279, 22.7819, 8.4387)
Luminance0.2278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F973F #971F77
analogous
#3B971F #1F973F #1F977B
triadic
#1F973F #3F1F97 #973F1F
tetradic
#1F973F #1F3B97 #971F77 #977B1F
square
#1F973F #1F3B97 #971F77 #977B1F
split-complementary
#1F973F #7B1F97 #971F3B
monochromatic
#0A3115 #15642A #1F973F #29CA54 #54DC79

Accessibility & contrast

On white

3.78
#1F973F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#1F973F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F973F
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F973F#FFFFFF#000000##000000
##1F973F1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998936
Deuteranopia (green-blind)
#8B8046
Tritanopia (blue-blind)
#009484
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f973f;
/* rgb */ color: rgb(31, 151, 63);
/* oklch */ color: oklch(59.4% 0.163 147.4);
Tailwind
colors: {
  custom: {
    50: '#70b777',
    500: '#1f973f',
    950: '#000000',
  },
}
SCSS
$custom: #1f973f;
$custom-light: #70b777;
$custom-dark: #000000;
JSON
{
  "hex": "#1f973f",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 63
  },
  "hsl": {
    "h": 136,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59382,
    "c": 0.16257,
    "h": 147.4
  },
  "luminance": 0.22783
}

Semantic roles & 50–950 ramp

primary
#1F973F
secondary
#BF52A2
accent
#3FBCE9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #1F973F

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

Preview Lab → · Contrast checker → · Palette generator →

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