#1F973A#1F973A

#1F973A is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.3% C 0.167 H 146.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#1F973A
RGBrgb(31, 151, 58)
HSLhsl(134, 66%, 36%)
HSVhsv(134, 79%, 59%)
CMYKcmyk(79.5%, 0%, 61.6%, 40.8%)
CIE-LABlab(54.79, -51.58, 39.22)
CIE-LCHlch(54.79, 64.80, 142.75°)
OKLaboklab(59.32% -0.1389 0.0923)
OKLCHoklch(59.32% 0.167 146.4)
XYZxyz(12.3945, 22.7285, 7.7360)
Luminance0.2273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F973A #971F7C
analogous
#40971F #1F973A #1F9776
triadic
#1F973A #3A1F97 #973A1F
tetradic
#1F973A #1F4097 #971F7C #97761F
square
#1F973A #1F4097 #971F7C #97761F
split-complementary
#1F973A #761F97 #971F40
monochromatic
#0A3113 #156426 #1F973A #29CA4E #54DC73

Accessibility & contrast

On white

3.79
#1F973A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F973A#FFFFFF#000000##000000
##1F973A1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998930
Deuteranopia (green-blind)
#8C7F42
Tritanopia (blue-blind)
#009383
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f973a;
/* rgb */ color: rgb(31, 151, 58);
/* oklch */ color: oklch(59.3% 0.167 146.4);
Tailwind
colors: {
  custom: {
    50: '#70b773',
    500: '#1f973a',
    950: '#000000',
  },
}
SCSS
$custom: #1f973a;
$custom-light: #70b773;
$custom-dark: #000000;
JSON
{
  "hex": "#1f973a",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 58
  },
  "hsl": {
    "h": 133.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59318,
    "c": 0.16675,
    "h": 146.4
  },
  "luminance": 0.2273
}

Semantic roles & 50–950 ramp

primary
#1F973A
secondary
#BF52A7
accent
#3FC3E9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F973A

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

Preview Lab → · Contrast checker → · Palette generator →

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