#1F972D#1F972D

#1F972D is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.2% C 0.177 H 144.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#1F972D
RGBrgb(31, 151, 45)
HSLhsl(127, 66%, 36%)
HSVhsv(127, 79%, 59%)
CMYKcmyk(79.5%, 0%, 70.2%, 40.8%)
CIE-LABlab(54.67, -53.06, 44.87)
CIE-LCHlch(54.67, 69.48, 139.78°)
OKLaboklab(59.18% -0.1434 0.103)
OKLCHoklch(59.18% 0.177 144.3)
XYZxyz(12.1045, 22.6125, 6.2088)
Luminance0.2261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F972D #971F89
analogous
#4D971F #1F972D #1F9769
triadic
#1F972D #2D1F97 #972D1F
tetradic
#1F972D #1F4D97 #971F89 #97691F
square
#1F972D #1F4D97 #971F89 #97691F
split-complementary
#1F972D #691F97 #971F4D
monochromatic
#0A310F #15641E #1F972D #29CA3C #54DC64

Accessibility & contrast

On white

3.80
#1F972D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#1F972D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F972D
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F972D#FFFFFF#000000##000000
##1F972D1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A881E
Deuteranopia (green-blind)
#8D7F37
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f972d;
/* rgb */ color: rgb(31, 151, 45);
/* oklch */ color: oklch(59.2% 0.177 144.3);
Tailwind
colors: {
  custom: {
    50: '#71b76c',
    500: '#1f972d',
    950: '#000000',
  },
}
SCSS
$custom: #1f972d;
$custom-light: #71b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f972d",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 45
  },
  "hsl": {
    "h": 127,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59179,
    "c": 0.17651,
    "h": 144.3
  },
  "luminance": 0.22614
}

Semantic roles & 50–950 ramp

primary
#1F972D
secondary
#BF52B3
accent
#3FD5E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F972D

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

Preview Lab → · Contrast checker → · Palette generator →

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