#1F973E#1F973E

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

Color values

HEX#1F973E
RGBrgb(31, 151, 62)
HSLhsl(136, 66%, 36%)
HSVhsv(136, 79%, 59%)
CMYKcmyk(79.5%, 0%, 58.9%, 40.8%)
CIE-LABlab(54.84, -51.05, 37.35)
CIE-LCHlch(54.84, 63.26, 143.81°)
OKLaboklab(59.37% -0.1373 0.0886)
OKLCHoklch(59.37% 0.163 147.2)
XYZxyz(12.5002, 22.7708, 8.2929)
Luminance0.2277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F973E #971F78
analogous
#3C971F #1F973E #1F977A
triadic
#1F973E #3E1F97 #973E1F
tetradic
#1F973E #1F3C97 #971F78 #977A1F
square
#1F973E #1F3C97 #971F78 #977A1F
split-complementary
#1F973E #7A1F97 #971F3C
monochromatic
#0A3114 #156429 #1F973E #29CA53 #54DC77

Accessibility & contrast

On white

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

On black

5.55
#1F973E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F973E
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F973E#FFFFFF#000000##000000
##1F973E1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998935
Deuteranopia (green-blind)
#8C8045
Tritanopia (blue-blind)
#009483
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f973e;
/* rgb */ color: rgb(31, 151, 62);
/* oklch */ color: oklch(59.4% 0.163 147.2);
Tailwind
colors: {
  custom: {
    50: '#70b776',
    500: '#1f973e',
    950: '#000000',
  },
}
SCSS
$custom: #1f973e;
$custom-light: #70b776;
$custom-dark: #000000;
JSON
{
  "hex": "#1f973e",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 62
  },
  "hsl": {
    "h": 135.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59368,
    "c": 0.16343,
    "h": 147.2
  },
  "luminance": 0.22772
}

Semantic roles & 50–950 ramp

primary
#1F973E
secondary
#BF52A3
accent
#3FBDE9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #1F973E

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

Preview Lab → · Contrast checker → · Palette generator →

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