#1F972F#1F972F

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

Color values

HEX#1F972F
RGBrgb(31, 151, 47)
HSLhsl(128, 66%, 36%)
HSVhsv(128, 79%, 59%)
CMYKcmyk(79.5%, 0%, 68.9%, 40.8%)
CIE-LABlab(54.69, -52.86, 44.05)
CIE-LCHlch(54.69, 68.80, 140.19°)
OKLaboklab(59.2% -0.1427 0.1015)
OKLCHoklch(59.2% 0.175 144.6)
XYZxyz(12.1439, 22.6283, 6.4165)
Luminance0.2263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F972F #971F87
analogous
#4B971F #1F972F #1F976B
triadic
#1F972F #2F1F97 #972F1F
tetradic
#1F972F #1F4B97 #971F87 #976B1F
square
#1F972F #1F4B97 #971F87 #976B1F
split-complementary
#1F972F #6B1F97 #971F4B
monochromatic
#0A310F #15641F #1F972F #29CA3F #54DC66

Accessibility & contrast

On white

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

On black

5.53
#1F972F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F972F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F972F#FFFFFF#000000##000000
##1F972F1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f972f;
/* rgb */ color: rgb(31, 151, 47);
/* oklch */ color: oklch(59.2% 0.175 144.6);
Tailwind
colors: {
  custom: {
    50: '#71b76d',
    500: '#1f972f',
    950: '#000000',
  },
}
SCSS
$custom: #1f972f;
$custom-light: #71b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f972f",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 128,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59198,
    "c": 0.17513,
    "h": 144.6
  },
  "luminance": 0.2263
}

Semantic roles & 50–950 ramp

primary
#1F972F
secondary
#BF52B1
accent
#3FD2E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F972F

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

Preview Lab → · Contrast checker → · Palette generator →

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